@@ -209,27 +209,26 @@ GPU request is automatically added to the container builder if the host has GPU
209209drivers installed in the kernel. This is similar to using [`--gpus=all` with the `docker run`](/reference/cli/docker/container/run.md#gpus)
210210command.
211211
212- > [!NOTE]
213- > We made a specially crafted BuildKit image because the current BuildKit
214- > release image is based on Alpine that doesn’t support NVIDIA drivers. The
215- > following image is based on Ubuntu and installs the NVIDIA client libraries
216- > and generates the CDI specification for your GPU in the container builder if
217- > a device is requested during a build. This image is temporarily hosted on
218- > Docker Hub under `crazymax/buildkit:v0.23.2-ubuntu-nvidia`.
219-
220212Now let's create a container builder named `gpubuilder` using Buildx :
221213
222214` ` ` console
223- $ docker buildx create --name gpubuilder --driver-opt "image=crazymax /buildkit:v0.23.2-ubuntu-nvidia " --bootstrap
215+ $ docker buildx create --name gpubuilder --driver-opt "image=moby /buildkit:buildx-stable-1-gpu " --bootstrap
224216#1 [internal] booting buildkit
225- #1 pulling image crazymax /buildkit:v0.23.2-ubuntu-nvidia
226- #1 pulling image crazymax /buildkit:v0.23.2-ubuntu-nvidia 1.0s done
217+ #1 pulling image moby /buildkit:buildx-stable-1-gpu
218+ #1 pulling image moby /buildkit:buildx-stable-1-gpu 1.0s done
227219#1 creating container buildx_buildkit_gpubuilder0
228220#1 creating container buildx_buildkit_gpubuilder0 8.8s done
229221#1 DONE 9.8s
230222gpubuilder
231223` ` `
232224
225+ > [!NOTE]
226+ > We made a specially crafted BuildKit image because the current BuildKit
227+ > release image is based on Alpine that doesn't support NVIDIA drivers. The
228+ > following image is based on Ubuntu and installs the NVIDIA client libraries
229+ > and generates the CDI specification for your GPU in the container builder if
230+ > a device is requested during a build.
231+
233232Let's inspect this builder :
234233
235234` ` ` console
@@ -241,10 +240,10 @@ Last Activity: 2025-07-10 08:18:09 +0000 UTC
241240Nodes:
242241Name: gpubuilder0
243242Endpoint: unix:///var/run/docker.sock
244- Driver Options: image="crazymax /buildkit:v0.23.2-ubuntu-nvidia "
243+ Driver Options: image="moby /buildkit:buildx-stable-1-gpu "
245244Status: running
246245BuildKit daemon flags: --allow-insecure-entitlement=network.host
247- BuildKit version: v0.23 .2
246+ BuildKit version: v0.26 .2
248247Platforms: linux/amd64, linux/amd64/v2, linux/amd64/v3, linux/arm64, linux/riscv64, linux/ppc64le, linux/s390x, linux/386, linux/arm/v7, linux/arm/v6
249248Labels:
250249 org.mobyproject.buildkit.worker.executor: oci
0 commit comments