---
title: "Discussion on \"The secret gems behind building container images, Enter: BuildKit & Docker Buildx\" | Hashnode"
description: "Discussion on \"The secret gems behind building container images, Enter: BuildKit & Docker Buildx\". In this post, we discussed various things about Buildkit, its internals, how to interact with BuildKit and its benefits in container image building. Feel fr"
url: "https://hashnode.com/posts/the-secret-gems-behind-building-container-images-enter-buildkit-and-docker-buildx/624bdd884b4dde0dc0bebe82"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [The secret gems behind building container images, Enter: BuildKit & Docker Buildx](https://kubesimplify.hashnode.dev/the-secret-gems-behind-building-container-images-enter-buildkit-and-docker-buildx?utm_source=hashnode&utm_medium=feed)

In this post, we discussed various things about Buildkit, its internals, how to interact with BuildKit and its benefits in container image building. Feel fr

Apr 5, 2022 · 11 min read · kubesimplify.hashnode.dev  
Read the article

-   [#docker-images](https://hashnode.com/tag/docker-images)
-   [#docker](https://hashnode.com/tag/docker)
-   [#containers](https://hashnode.com/tag/containers)
-   [#build](https://hashnode.com/tag/build)
-   [#container](https://hashnode.com/tag/container)

## Written by

[Batuhan Apaydın](https://hashnode.com/@developerguyba)

@developerguyba

  
[View profile](https://hashnode.com/@developerguyba)

## Responses 4

Markdown supported · ⌘↵ to post

[Batuhan Apaydın](https://hashnode.com/@developerguyba)

[May 5, 2022](https://hashnode.com/posts/the-secret-gems-behind-building-container-images-enter-buildkit-and-docker-buildx/624bdd884b4dde0dc0bebe82/comment/6273801c74dff339292d0ca6)

## 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 --bootstrap
```

---

Instead 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:v1
```

It will give you more info like manifest, image config, and [buildinfo](https://github.com/moby/buildkit/blob/master/docs/build-repro.md)

[Muhammad Hammad Sani](https://hashnode.com/@mhammadsaani)

[Apr 5, 2022](https://hashnode.com/posts/the-secret-gems-behind-building-container-images-enter-buildkit-and-docker-buildx/624bdd884b4dde0dc0bebe82/comment/624c11702b09bb392ea5cafb)

Great, well explained!

[Bushra Nazish](https://hashnode.com/@Bushra)

[Apr 5, 2022](https://hashnode.com/posts/the-secret-gems-behind-building-container-images-enter-buildkit-and-docker-buildx/624bdd884b4dde0dc0bebe82/comment/624bec104b4dde0dc0bec0d9)

An awesome and insightful read 🤩💯 Great piece!!

[Saiyam Pathak](https://hashnode.com/@Saiyampathak)

[Apr 5, 2022](https://hashnode.com/posts/the-secret-gems-behind-building-container-images-enter-buildkit-and-docker-buildx/624bdd884b4dde0dc0bebe82/comment/624be6a94b4dde0dc0bebfe5)

Loved every bit of it!!
