not be enough IDs available in the namespace
On my iBox I needed to adjust manually the mapping of subuid's and subgid's to successfully pull an image. Before that i always got the following error
ERRO[0005] Error while applying layer: ApplyLayer exit status 1 stdout: stderr: there might not be enough IDs available in the namespace (requested 0:42 for /etc/gshadow): lchown /etc/gshadow: invalid argument ApplyLayer exit status 1 stdout: stderr: there might not be enough IDs available in the namespace (requested 0:42 for /etc/gshadow): lchown /etc/gshadow: invalid argument
I solved this issue by adding a range of subuid for my container-user
echo "container-user:100000:65536" > /etc/subuid
echo "container-user:100000:65536" > /etc/subgid
su -l container-user -s /bin/sh
podman system migrate
After I did this the first time with each adduser
command new entries in the /etc/subuid and /etc/subguid are created as expected. Perhaps this was just temporary or a initial problem.
In the podman troubleshooting section this problem is mentioned here
Todo:
-
Check with a clean ibox if the problem persist