Replies: 4 comments
-
Anyone? |
Beta Was this translation helpful? Give feedback.
-
A friendly reminder that this issue had no activity for 30 days. |
Beta Was this translation helpful? Give feedback.
-
sorry for the late reply. There is no safe delegation for cgroup v1 and you are already running with privileges, so you could just bind mount |
Beta Was this translation helpful? Give feedback.
-
I have also encountered the same problem, I would like to know if this issue has been resolved? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Issue Description
I have a Debian 12.5 container with podman 4.3.1 installed. The host is a Redhat 8.5 running podman 4.6.1.
Within the container, when I execute
podman run
, I get the following error:Error: crun: creating cgroup directory
/sys/fs/cgroup/devices/libpod_parent/libpod-a0442b6cb250349aaca3435df7ef3ca0dfca4f88e885ed68575a0380554cc90d
: No such file or directory: OCI runtime attempted to invoke a command that was not foundSteps to reproduce the issue
Steps to reproduce the issue
--sysctl net.ipv4.conf.default.route_localnet=1 --security-opt seccomp=unconfined --security-opt label=disable --security-opt=unmask=/proc/* --security-opt=unmask=/sys/fs/cgroup --systemd=always --cap-add SYS_ADMIN --cap-add SYS_RESOURCE --cap-add NET_ADMIN --cap-add SYS_CHROOT --device /dev/fuse --mount=type=tmpfs,destination=/var/lib/containers --user=root -v /usr/lib/systemd/system/podman.socket:/usr/lib/systemd/system/podman.socket -v /run/systemd/journal/socket:/run/systemd/journal/socket
podman run --rm -d --name test_container --hostname test_container docker.io/redis:alpine
Describe the results you received
This is the output:
Describe the results you expected
The redis container should successfully launch on the host.
podman info output
Within the container:
On the host:
Podman in a container
Yes
Privileged Or Rootless
Rootless
Upstream Latest Release
No
Additional environment details
Additional environment details
Additional information
Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting
Beta Was this translation helpful? Give feedback.
All reactions