Skip to content

Commit

Permalink
basics: Adding cache management commands to examples
Browse files Browse the repository at this point in the history
  • Loading branch information
simo-tuomisto committed Apr 25, 2024
1 parent a102a9c commit 35cfc79
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion content/basics_running_containers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ Let's create the container image with the following command:

.. code-block:: console
$ mkdir apptainer_cache
$ export APPTAINER_CACHEDIR=$PWD/apptainer_cache
$ apptainer pull python.sif docker://python
We'll talk about container images and image building later on.
Expand Down Expand Up @@ -131,7 +133,6 @@ Review of this session

.. admonition:: Key points to remember


- You can run the container with ``apptainer run my_image.sif``
- You can start an interactive shell in a container with ``apptainer shell my_image.sif``
- You can run a single program in a container with ``apptainer exec my_image.sif my_program arg1 arg2``

0 comments on commit 35cfc79

Please sign in to comment.