apptainer(1) apptainer(1) (NAME) apptainer-shell - (SYNOPSIS) apptainer shell [ shell...] <> (DESCRIPTION) apptainer shell : *.sif (SIF). Singularity (3.0+) Apptainer (v1.0.0+) *.sqsh SquashFS. Singularity 2.4 *.img ext3. Singularity 2.4. directory/ (). Apptainer. instance://* . ( instance .) library://* SIF Library ( ) docker://* Docker/OCI OCI. shub://* Singularity Hub. oras://* SIF OCI OCI Registry As Storage (ORAS) . ipfs://* SIF IPFS HTTP. (OPTIONS) --add-caps="" --allow-setuid[=false] setuid ( ) --app="" --apply-cgroups="" cgroups ( ) --authfile="" / OCI -B, --bind=[] . src[:dest[:opts]] src dest . dest src . ('opts') 'ro' ( ) 'rw' (/ ) . . --blkio-weight=0 Block IO --blkio-weight-device=[] / (Block IO) --cdi-dirs=[] CDI JSON . /etc/cdi,/var/run/cdi -e, --cleanenv[=false] --compat[=false] OCI/Docker. containall-- no-init-- no-umask-- no-eval-- writable- tmpfs-- . -c, --contain[=false] dev/ ( tmp/ HOME$) -C, --containall[=false] PID IPC --cpu-shares=-1 (CPU shares) --cpus="" --cpuset-cpus="" --cpuset-mems="" --cwd="" ( pwd--) --device=[] () CDI. VENDOR CLASS NAME vendor.com/device=mydevice . . --disable-cache[=false] () --dns="" DNS resolv.conf --docker-host="" --docker-login[=false] --drop-caps="" --env=[] --env-file=[] -f, --fakeroot[=false] (fakeroot) --fusemount=[] FUSE ': ' 'container' 'host' ('container-daemon' 'host-daemon' FUSE ). FUSE . FUSE 'container:sshfs 10.0.0.1:/ /sshfs'. pid-- . -h, --help[=false] shell -H, --home="/build" . (src) src:dest . src dest . --hostname="" (hostname) --intel-hpu[=false] Intel(R) Gaudi dev/ -i, --ipc[=false] IPC --keep-privs[=false] ( ) --memory="" --memory-reservation="" --memory-swap="" (Swap) - --mount=[] 'type=bind,source=/opt,destination=/hostopt'. 'nonested' APPTAINER_BIND . -n, --net[=false] ( bridge ) --netns-path="" ( apptainer.conf) --network="" --network-args=[] CNI --no-env=[] --no-eval[=false] CMD/ENTRYPOINT/ARGS OCI --no-home[=false] /home --no-https[=false] http https ://docker ://oras :///library --no-init[=false] shim pid-- --no-mount=[] 'mount xxx' apptainer.conf bind 'bind-paths' bind. --no-pid[=false] PID --no-privs[=false] --no-umask[=false] umask umask 0022 --nv[=false] Nvidia --nvccli[=false] nvidia-container-cli GPU () --oom-kill-disable[=false] (OOM killer) -o, --overlay=[] overlayFS --passphrase[=false] --pem-path="" RSA PEM -p, --pid[=false] PID --pids-limit=0 PID - --rocm[=false] Rocm -S, --scratch=[] (scratch) ( W- ) --security=[] (SELinux Apparmor Seccomp) --sharens[=false] -s, --shell="" --unsquash[=false] SIF -u, --userns[=false] --uts[=false] UTS -W, --workdir="" /tmp /var/tmp $HOME ( c/- contain/-- ) -w, --writable[=false] Apptainer . / . --writable-tmpfs[=false] / ( overlay) (EXAMPLE) $ apptainer shell /tmp/Debian.sif Apptainer/Debian.sif> pwd /home/gmk/test Apptainer/Debian.sif> exit $ apptainer shell -C /tmp/Debian.sif Apptainer/Debian.sif> pwd /home/gmk Apptainer/Debian.sif> ls -l total 0 Apptainer/Debian.sif> exit $ sudo apptainer shell -w /tmp/Debian.sif $ sudo apptainer shell --writable /tmp/Debian.sif $ apptainer shell instance://my_instance $ apptainer shell instance://my_instance Apptainer: Invoking an interactive shell within container... Apptainer container:~> ps -ef UID PID PPID C STIME TTY TIME CMD ubuntu 1 0 0 20:00 ? 00:00:00 /usr/local/bin/apptainer/bin/appinit ubuntu 2 0 0 20:01 pts/8 00:00:00 /bin/bash --norc ubuntu 3 2 0 20:02 pts/8 00:00:00 ps -ef (SEE ALSO) apptainer(1) (HISTORY) 30-Jul-2026 spf13/cobra Auto generated by spf13/cobra Jul 2026 apptainer(1)