You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Only use container restart-policy as no, otherwise docker will keep restarting the container.
Uninstalling emulators
docker run --privileged --rm tonistiigi/binfmt --uninstall qemu-aarch64
Emulator names can be found from the status output.
You can also uninstall all archs for a specific emulator:
docker run --privileged --rm tonistiigi/binfmt --uninstall qemu-*
Display version
docker run --privileged --rm tonistiigi/binfmt --version
binfmt/9a44d27 qemu/v6.0.0 go/1.15.11
Development commands
# validate linter
./hack/lint
# validate vendored files
./hack/validate-vendor
# update vendored files
./hack/update-vendor
# test, only run on nodes where you allow emulators to be installed in kernel
./hack/install-and-test
Test current emulation support
docker run --rm --platform linux/arm64 alpine uname -a
docker run --rm --platform linux/arm/v7 alpine uname -a
docker run --rm --platform linux/ppc64le alpine uname -a
docker run --rm --platform linux/s390x alpine uname -a
docker run --rm --platform linux/riscv64 alpine uname -a
buildkit target
This repository also provides helper for BuildKit's automatic emulation support moby/buildkit#1528.
These binaries are BuildKit specific and should not be installed in kernel with binfmt_misc.