-
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
docker buildx build
fails for foreign architecture
#24646
Comments
I've filed moby/buildkit#5544 for a possible fix in BuildKit. |
Looks like something is attempting to set SELinux labels on a file system that does not support it. |
A partial explanation of what is happening, in my understanding:
As a workaround, you can disable SELinux on the machine VM. I solemnly swear I will not do this in production.
|
Duplicate of #24000 |
Issue Description
I'm trying to build a container image for a foreign architecture using
alias docker=podman
. The command is:The build fails with:
I don't know if this is an issue with Podman per se, as the issue is also filed against Docker. However, I am filing it here because I am using a
podman machine
(on a macOS host) and so it may be that a machine VM configuration issue.I attempted to disable SELinux on the machine VM with
sudo setenforce 0
but this didn't resolve the issue. Using a rootful machine did not work either.podman info output
`podman info` output
Podman in a container
No
Privileged Or Rootless
Rootless
Upstream Latest Release
Yes
The text was updated successfully, but these errors were encountered: