Can podman containers run inside of a Slurm "srun" job session?

Solution Unverified - Updated -

Issue

  • When running podman containers within a Slurm-controlled srun 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, or buildah
  • Slurm Workload Manager

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content