Skip to content

Instantly share code, notes, and snippets.

@guerzon
Last active May 18, 2022 12:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save guerzon/608779d3710e86cf9fc9eb28aa4be651 to your computer and use it in GitHub Desktop.
Save guerzon/608779d3710e86cf9fc9eb28aa4be651 to your computer and use it in GitHub Desktop.

podman issues

Blockers why podman cannot replace docker-ce (yet). This is to remind myself to not waste any more time trying to use podman.

Issues

rootless containers fail to start with cgroup2 (EL8)

[lester@rocky8 ~]$ podman run alpine
Error: runc: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: process_linux.go:508: setting cgroup config for procHooks process caused: open /sys/fs/cgroup/user.slice/user-1001.slice/user@1001.service/user.slice/libpod-8560123f3454af8d1f47a15fe52dd0c3218abfebbf77bad0e7cdf4e941bb96dd.scope/pids.max: no such file or directory: OCI runtime attempted to invoke a command that was not found
[lester@rocky8 ~]$ mount -l | grep cgroup
cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,seclabel,nsdelegate)
[lester@rocky8 ~]$ 

Refs:

Happens on Rocky Linux 8, but not on Fedora CoreOS 36 (podman machine on MacOS).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment