Any idea about this problem: "Error: error creating container storage: could not find enough available IDs" ? #12848
Replies: 5 comments 6 replies
-
I don't think |
Beta Was this translation helpful? Give feedback.
-
It will work in rootless, BUT you must have enough UIDs to subdevide them. If the mapping as a UID not mapped into the user namespace it will fail. If you try --userns=auto:size=5000 it is more likely to work. |
Beta Was this translation helpful? Give feedback.
-
Ok, '--userns=auto' should be put right after 'podman run'. |
Beta Was this translation helpful? Give feedback.
-
you probably have other containers that are running without any user namespace, so they are already using all the available IDs. |
Beta Was this translation helpful? Give feedback.
-
@giuseppe |
Beta Was this translation helpful? Give feedback.
-
podman V3.4.4 on FC35, rootless.
Problem occurs when '--userns=auto' is added
podman run --name=container-gadget-root -d --label io.podman.compose.config-hash=123 --label io.podman.compose.project=pod-gadgets-root --label io.podman.compose.version=0.0.1 --label com.docker.compose.project=pod-gadgets-root --label com.docker.compose.project.working_dir=/data/infra/home/podman/pod-gadgets-root --label com.docker.compose.project.config_files=docker-compose.yaml --label com.docker.compose.container-number=1 --label com.docker.compose.service=service-gadget-root --cap-drop all --net pod-gadgets-root_default --network-alias service-gadget-root --hostname container-gadget-root user1/pod-gadgets-root:0.2 --userns=auto
Error: error creating container storage: could not find enough available IDs
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions