Skip to content

Commit

Permalink
Update sharing.rst
Browse files Browse the repository at this point in the history
emphasize lines in code bind mount example
  • Loading branch information
maikenp authored Oct 9, 2024
1 parent 6125f2c commit 8ca7151
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions content/sharing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ Compare the two apptainer definition files and how to run the resulting ``my_con
.. tab:: Image including data

.. code-block:: singularity
:emphasize-lines: 6
:emphasize-lines: 6,10,16
Bootstrap: docker
From: python:3.9-slim
Expand All @@ -220,7 +220,7 @@ Compare the two apptainer definition files and how to run the resulting ``my_con
input_data /app/input_data
%post
mkdir -p /app/output_data
mkdir /app/output_data
chmod 777 /app/output_data
%runscript
Expand All @@ -232,6 +232,7 @@ Compare the two apptainer definition files and how to run the resulting ``my_con
.. tab:: Image not including data - using bind-mounts

.. code-block:: singularity
:emphasize-lines: 9,15
Bootstrap: docker
From: python:3.9-slim
Expand All @@ -240,8 +241,8 @@ Compare the two apptainer definition files and how to run the resulting ``my_con
process_data.py /app/process_data.py
%post
mkdir /app/input_data
mkdir /app/output_data
mkdir /app/input_data
%runscript
python /app/process_data.py /app/input_data /app/output_data
Expand Down

0 comments on commit 8ca7151

Please sign in to comment.