How to Build Multi-Architecture Docker Images using BuildX and push it to DockerHub

How to Build Multi-Architecture Docker Images using BuildX and push it to DockerHub

Codeching

1 год назад

2,252 Просмотров

In this tutorial you can learn, that how you can creating a multi-arch docker image and push it to your docker registry. I will push my multi architecture docker image to DockerHub. I will also describe the old way to do it, but buildx is a very helpful (but experimental) tool to do it with a single command.

Tutorial repository: https://gitlab.com/codeching/multi-arch-docker-images

You can read about how to build multi-arch images here: https://www.docker.com/blog/multi-arch-images/

You can read how to use buildx inside Gitlab CI/CD pipeline here: https://www.docker.com/blog/multi-arch-build-what-about-gitlab-ci/

Old way of building multi-arch images manually: https://www.docker.com/blog/multi-arch-build-and-images-the-simple-way/

00:00 - Intro
00:28 - Multi-arch docker images (buildx)
01:10 - The old way to build multi architecture docker images
01:51 - Let's do it - creating an own builder and build the image
03:05 - Describe the Dockerfile and sample application
05:35 - Check the multi-arch image on DockerHub
06:15 - Building a multi-arch docker image inside a CI/CD pipeline
07:00 - Summary


------------------------------
My name is László Leber
Webpage: https://lebersoftware.hu
Facebook: https://www.facebook.com/Codeching-111388913727599/?modal=admin_todo_tour
Twitter: https://twitter.com/codeching

Тэги:

#docker #multi-arch_docker_image #multi_architecture_docker_image #buildx #Docker_compose #React_shellscript_docker #Docker_shell_script #Linux_Docker_container #React_environment_variable #Docker_environment_variable #NodeJS #Express #Nginx #Proxy #docker-compose #docker_yaml #dockerfile #Dockerfile_yml #Docker_yml #Kubernetes #docker_manifest #kaniko #kaniko_multi_platform #kaniko_multi-arch #multi-arch_docker_ci/cd #gitlab_multi-arch_docker #gitlab_c/cd #gitlab_cicd #gitlab_pipeline
Ссылки и html тэги не поддерживаются


Комментарии: