Skip to content

jessjenkins/multi-arch-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

multi-arch-docker

Multi arch docker with go

  • Requires BuildKit (docker buildx create --use)
  • For my own personal use only (learning docker multi-arch), if you use this be warned there'll probably be bugs!

To build locally (single arch)…

docker buildx build --load --platform linux/amd64 --progress plain --no-cache -t mad:bxamd .
docker run --rm --platform=linux/amd64 mad:bxamd

To build multi-arch and push to docker hub…

docker buildx build --push --platform linux/amd64,linux/arm64/v8 -t missjessjenkins/mad:latest .
docker run --rm --platform=linux/arm64 missjessjenkins/mad

To see the result, see the associated docker hub repo.

About

Multi arch docker with go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published