The secret gems behind building container images, Enter: BuildKit & Docker Buildx
Abstract
Containers are a part of our life right now, and until recent years our knowledge is only limited to Docker itself. Because it handles everything for us, it provides a high-level language, Dockerfile, where you construct your image, and it c...
blog.kubesimplify.com11 min read
Some nits from @crazymax who is one of the core maintainers of the BuildKit project:
$ docker buildx create --name builder --use $ docker buildx inspect builder --bootstrap Can be replaced by $ docker buildx create --name builder --use --bootstrapInstead of crane to inspect the manifest, you can use buildx imagetools inspect with its new --format flag:
$ docker buildx imagetools inspect --format "{{json .}}" devopps/hello-world-multi-arch:v1It will give you more info like manifest, image config, and buildinfo