Can podman containers run inside of a Slurm "srun" job session?
Issue
- When running
podman
containers within a Slurm-controlledsrun
session, errors or warnings like the following may appear, sometimes halting or preventing containers from executing:
WARN[0000] "/" is not a shared mount, this could cause issues or missing mounts with rootless containers
- Or:
WARN[0000] RunRoot is pointing to a path (/run/user/1000/containers) which is not writable. Most likely podman will fail.
Error: mkdir /run/user/1000: permission denied
- Or:
Error message saying: 'standard_init_linux.go:211: exec user process caused "permission denied" '
Environment
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Container tools such as
podman
,skopeo
, orbuildah
- Slurm Workload Manager
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.