diff --git a/docs/guides/drivers/docker-container.md b/docs/guides/drivers/docker-container.md index 24ccd6b1..11103e6f 100644 --- a/docs/guides/drivers/docker-container.md +++ b/docs/guides/drivers/docker-container.md @@ -41,7 +41,7 @@ When you run a build, Buildx pulls the specified `image` (by default, started, Buildx submits the build submitted to the containerized build server. ```console -$ docker buildx build . -t --builder=container +$ docker buildx build -t --builder=container . WARNING: No output specified with docker-container driver. Build result will only remain in the build cache. To push result image into registry use --push or to load image into docker use --load #1 [internal] booting buildkit #1 pulling image moby/buildkit:buildx-stable-1 @@ -59,7 +59,7 @@ Unlike when using the default `docker` driver, images built with the Use the `--load` flag: ```console -$ docker buildx build . --load -t --builder=container +$ docker buildx build --load -t --builder=container . ... => exporting to oci image format 7.7s => => exporting layers 4.9s @@ -86,11 +86,11 @@ architectures that you want to build for. For example, to build a Linux image for `amd64` and `arm64`: ```console -$ docker buildx build . \ +$ docker buildx build \ --builder=container \ --platform=linux/amd64,linux/arm64 \ -t / \ - --push + --push . ``` > **Warning** diff --git a/docs/guides/drivers/kubernetes.md b/docs/guides/drivers/kubernetes.md index a1f187fd..285143a7 100644 --- a/docs/guides/drivers/kubernetes.md +++ b/docs/guides/drivers/kubernetes.md @@ -135,11 +135,11 @@ output to. For example, to build a Linux image for `amd64` and `arm64`: ```console -$ docker buildx build . \ +$ docker buildx build \ --builder=kube \ --platform=linux/amd64,linux/arm64 \ -t / \ - --push + --push . ``` > **Warning** @@ -309,10 +309,10 @@ Prerequisites: ```console # Replace with your Docker username # and with the name of the image you want to build - docker buildx build . \ + docker buildx build \ --builder=kube \ -t / \ - --push + --push . ``` That's it! You've now built an image from a Kubernetes pod, using Buildx! diff --git a/docs/guides/drivers/remote.md b/docs/guides/drivers/remote.md index 06a24059..dcca834c 100644 --- a/docs/guides/drivers/remote.md +++ b/docs/guides/drivers/remote.md @@ -75,7 +75,7 @@ You can switch to this new builder as the default using `docker buildx use remote-unix`, or specify it per build using `--builder`: ```console -$ docker buildx build . --builder=remote-unix -t test --load +$ docker buildx build --builder=remote-unix -t test --load . ``` Remember that you need to use the `--load` flag if you want to load the build