apptainer-shell
Start an interactive shell within an Apptainer container. tldr-pages
On Linux
Linux
Start an interactive shell inside a container
apptainer shell path/to/image.sifIdentifyStart a shell with a bind mount from host to container
apptainer shell --bind path/to/source:path/to/destination path/to/image.sifIdentifyStart a shell with environment variables
apptainer shell --env variable=value path/to/image.sifIdentifyStart a shell in fully isolated mode (contained filesystem, PID, IPC, and clean environment)
apptainer shell --containall path/to/image.sifIdentifyStart a shell with a writable temporary filesystem overlay
apptainer shell --writable-tmpfs path/to/image.sifIdentifyStart a shell with NVIDIA GPU support
apptainer shell --nv path/to/image.sifIdentifyStart a shell using a specific shell program
apptainer shell --shell path/to/shell path/to/image.sifIdentifyDisplay help
apptainer shell --helpIdentify