2023-09-30 15:58:32 +05:00
2023-09-30 15:58:32 +05:00
2023-09-30 15:58:32 +05:00
2023-09-30 16:37:47 +05:00

Multi-arch support

  • You maybe need to run this command to get buildx if you get this error

Error:

exec /bin/sh: exec format error

Fixing command:

docker run --rm --privileged docker/binfmt:a7996909642ee92942dcd6cff44b9b95f08dad64

i have no idea what it does, but it seems to fix the thing ._.

  • You MAY also need to set these variable before running build, depending on the docker version on host
export COMPOSE_DOCKER_CLI_BUILD=1
export DOCKER_BUILDKIT=1

Enable (1) or disable (0) BuildKit builds

Building new container

  • cd into a folder and run
docker compose build
Description
test repo to build multi arch debian containers
Readme 45 KiB
Languages
Shell 86.7%
Dockerfile 13.3%