Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 1.07 KB

multi-platform-manifest.md

File metadata and controls

30 lines (18 loc) · 1.07 KB

Create multi platform manifest

index

Abstract : Manually creates a multi platform manifest (image) and push it to docker hub.

  1. Crate and push the images for all the platform needed

For instance we will target linux/amd64 and linux/arm64 :

docker build -t fugeritorg/fj-doc-playground-quarkus:3.1.5-linux-amd64 --platform linux/amd64 .

docker push fugeritorg/fj-doc-playground-quarkus:3.1.5-linux-amd64

docker build -t fugeritorg/fj-doc-playground-quarkus:3.1.5-linux-arm64 --platform linux/arm64 .

docker push fugeritorg/fj-doc-playground-quarkus:3.1.5-linux-arm64

  1. Create and push the multi platform manifest
docker manifest create \
fugeritorg/fj-doc-playground-quarkus:3.1.5 \
--amend fugeritorg/fj-doc-playground-quarkus:3.1.5-linux-amd64 \
--amend fugeritorg/fj-doc-playground-quarkus:3.1.5-linux-arm64 

docker manifest push fugeritorg/fj-doc-playground-quarkus:3.1.5

This quickstart is based on : https://www.docker.com/blog/multi-arch-build-and-images-the-simple-way/