Skip to content

Commit

Permalink
Clarification on shell behaviour with apptainer exec.
Browse files Browse the repository at this point in the history
  • Loading branch information
jkwmoore committed May 26, 2022
1 parent 50df091 commit c18a0a4
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions quick_start.rst
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,18 @@ command and disappears.
||----w |
|| ||
.. warning::
Using shell operators such as ``&&`` in the command supplied to {command} exec
will run subsequent commands in the current shell, not within the {command} container!

For example:

.. code::
$ {command} exec docker://sylabsio/lolcow echo "Hello" && cowsay "Fresh from the internet!"
Hello
Command 'cowsay' not found.
.. _runcontainer:

Running a container
Expand Down

0 comments on commit c18a0a4

Please sign in to comment.