User Tools

Site Tools


docker:multiarch

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

docker:multiarch [2020/07/03 19:23] (current)
els created
Line 1: Line 1:
 +<​code>​
 +export DOCKER_BUILDKIT=1
 +docker build --platform=local -o . git://​github.com/​docker/​buildx
 +mkdir -p ~/​.docker/​cli-plugins && mv buildx ~/​.docker/​cli-plugins/​docker-buildx
 +sudo apt-get install -y binfmt-support
 +sudo apt-get install -y qemu-user-static
 +</​code>​
  
 +<​code>​
 +docker buildx create --use --name mybuilder
 +docker buildx build --platform=linux/​arm --no-cache=true -t pi-test:​0.0.16 . --load
 +docker tag pi-test:​0.0.16 repo/​path/​pi-test:​0.0.16
 +docker push repo/​path/​pi-test:​0.0.16
 +</​code>​
docker/multiarch.txt ยท Last modified: 2020/07/03 19:23 by els