-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[macos] podman build fails with potentially insufficient UIDs or GIDs available in user namespace #11474
Comments
Could you please share contents of |
cat /etc/subuid cat /etc/subgid I've tested with several settings .. but no luck |
Sorry since this is |
Could you paste output of |
You need to check values of |
I'm having the same problem as the original poster on macOS Big Sur v11.5.2.
Hope it helps. |
@gregorso, on your MacOS host, can you run If that's the case, then |
|
podman info
|
id -a |
@gregorso, @scholarsmate thanks! That matches what I thought was going on. #11473 should fix this, then. |
I installed latest podman on macos 11.5.2 (20G95)
each build fails with
potentially insufficient UIDs or GIDs available in user namespace....
Steps to reproduce the issue:
brew install podman
podman build .
Dockerfile:
from alpine
WORKDIR /app
Describe the results you received:
Error: potentially insufficient UIDs or GIDs available in user namespace (requested 60593705:1664186505 for /var/tmp/libpod_builder763932776/build/Dockerfile): Check /etc/subuid and /etc/subgid: lchown /var/tmp/libpod_builder763932776/build/Dockerfile: invalid argument
Describe the results you expected:
Output of
rpm -q buildah
orapt list buildah
:Output of
buildah version
:Output of
podman version
if reporting apodman build
issue:podman version
Client:
Version: 3.3.1
API Version: 3.3.1
Go Version: go1.17
Built: Mon Aug 30 21:15:26 2021
OS/Arch: darwin/amd64
Server:
Version: 3.3.0
API Version: 3.3.0
Go Version: go1.16.6
Built: Fri Aug 20 21:36:14 2021
OS/Arch: linux/amd64
Output of
cat /etc/*release
:Output of
uname -a
:Darwin CLDV1007.local 20.6.0 Darwin Kernel Version 20.6.0: Wed Jun 23 00:26:31 PDT 2021; root:xnu-7195.141.2~5/RELEASE_X86_64 x86_64
Output of
cat /etc/containers/storage.conf
:The text was updated successfully, but these errors were encountered: