Build Docker Images for Any Platform with Buildx
Channel:
Subscribers:
11,800
Published on ● Video Link: https://www.youtube.com/watch?v=8jCt1QIepTw
We look into building images for multiple platforms and deploying them in a Kubernetes cluster. Talks about the challenges I've faced during the process and ways to mitigate these issues.
Command to create builder:
docker buildx create --use --name mybuilder --driver-opt network=host --buildkitd-flags '--allow-insecure-entitlement network.host'
Command to run a build:
docker buildx build --push --platform linux/amd64,linux/arm64 --tag host:port/program:version .
Join this channel to get access to perks:
https://www.youtube.com/channel/UCnG-TN23lswO6QbvWhMtxpA/join
Or visit my blog at:
https://danielpersson.dev
Outro music: Sanaas Scylla
#docker #buildx #kubernetes
Other Videos By Daniel Persson
Tags:
docker buildx
docker buildkit
docker image
multi-architecture docker
docker arm
docker devops
buildx tutorial