@@ -206,7 +206,7 @@ environment and start building.
206206``` console
207207$ docker buildx create --driver cloud < ORG> /< BUILDER_NAME>
208208cloud-<ORG>-<BUILDER_NAME>
209- $ docker build \
209+ $ docker buildx build \
210210 --builder cloud-<ORG>-<BUILDER_NAME> \
211211 --platform linux/amd64,linux/arm64,linux/arm/v7 \
212212 --tag <IMAGE_NAME> \
@@ -279,7 +279,7 @@ Steps:
2792793 . Build the image for ` linux/amd64 ` and ` linux/arm64 ` :
280280
281281 ``` console
282- $ docker build --platform linux/amd64,linux/arm64 -t multi-platform .
282+ $ docker buildx build --platform linux/amd64,linux/arm64 -t multi-platform .
283283 ```
284284
2852854 . Run the image and print the architecture:
@@ -339,7 +339,7 @@ Steps:
3393393 . Build the image for ` linux/amd64 ` and ` linux/arm64 ` using Docker Build Cloud:
340340
341341 ``` console
342- $ docker build \
342+ $ docker buildx build \
343343 --builder <cloud-builder> \
344344 --platform linux/amd64,linux/arm64 \
345345 --output ./bin .
@@ -481,7 +481,7 @@ Steps:
4814814 . Build the image for ` linux/amd64 ` and ` linux/arm64 ` :
482482
483483 ``` console
484- $ docker build --platform linux/amd64,linux/arm64 -t go-server .
484+ $ docker buildx build --platform linux/amd64,linux/arm64 -t go-server .
485485 ```
486486
487487This example has shown how to cross-compile a Go application for multiple
0 commit comments