diff --git a/src/main/md/docker/multi-platform-manifest.md b/src/main/md/docker/multi-platform-manifest.md index 95852c2..4bf4b03 100644 --- a/src/main/md/docker/multi-platform-manifest.md +++ b/src/main/md/docker/multi-platform-manifest.md @@ -16,7 +16,7 @@ For instance we will target linux/amd64 and linux/arm64 : `docker push fugeritorg/fj-doc-playground-quarkus:3.1.5-linux-arm64` -2. Create and push the multi platform manifest +2A. Create and push the multi platform manifest ``` docker manifest create \ @@ -27,4 +27,20 @@ fugeritorg/fj-doc-playground-quarkus:3.1.5 \ `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/](https://www.docker.com/blog/multi-arch-build-and-images-the-simple-way/) \ No newline at end of file +This quickstart is based on : [https://www.docker.com/blog/multi-arch-build-and-images-the-simple-way/](https://www.docker.com/blog/multi-arch-build-and-images-the-simple-way/) + +2B. Create and push the multi platform with buildx + +Depending on you system, method 2A could not work with message "${your manifest} is a manifest list" + +It is possible to use buildx to build a new image from the two created : + +``` +docker buildx imagetools create -t fugeritorg/quarkus-photobook:v1.0.0-native \ + fugeritorg/quarkus-photobook:v1.0.0-arm64native \ + fugeritorg/quarkus-photobook:v1.0.0-amd64native +``` + +This solution was borrowed from : + + \ No newline at end of file