1. Docker & Podman CLI
Pass --shm-size or share the host IPC namespace for single-node runs
# Option A: Dedicated isolated tmpfs quota (recommended for multi-tenant hosts)
docker run --gpus all --shm-size=16g --ulimit memlock=-1 -it nvcr.io/nvidia/pytorch:24.12-py3
# Option B: Podman rootless or rootful execution with explicit shm allocation
podman run --device nvidia.com/gpu=all --shm-size=16g -it nvcr.io/nvidia/pytorch:24.12-py3Always pair --shm-size with --ulimit memlock=-1 when running multi-GPU NCCL workloads so pinned host memory and shared IPC pages are not throttled by default PAM limits.