podman icon indicating copy to clipboard operation
podman copied to clipboard

.buildkit_qemu_emulator: operation not supported

Open anthr76 opened this issue 1 year ago • 0 comments

Discussed in https://github.com/containers/podman/discussions/23890

Originally posted by anthr76 September 6, 2024 Hello! I'm trying to use the Docker CLI with the DOCKER_HOST set to the Podman socket on MacOS.

I have a project I'm trying to build (https://github.com/goauthentik/authentik) that uses buildx.

I'm using a arm64 Mac and the command I'm trying to invoke is

DOCKER_BUILDKIT=1 docker build . --tag authentik:test1 --platform=linux/amd64 -f Dockerfile --load

This fails with a error

/dev/.buildkit_qemu_emulator ... : did not complete successfully: failed to copy xattrs: failed to set xattr "security.selinux" on /tmp/buildkit-qemu-emulator2534885165/dev/.buildkit_qemu_emulator: operation not supported

This does run okay on the native architecture.

Has anyone ever seen this before and know if it's a bug or a workaround?

I found this related issue https://github.com/dagger/dagger/issues/8054

I know disabling SELinux on CoreOS is usually not a route you can really take so not sure how to approach this.

Does anyone know which codepath this lies in?

anthr76 avatar Sep 18 '24 14:09 anthr76