File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -414,8 +414,13 @@ The `registry` exporter is a shortcut for `type=image,push=true`.
414414
415415Set the target platform for the build. All ` FROM ` commands inside the Dockerfile
416416without their own ` --platform ` flag will pull base images for this platform and
417- this value will also be the platform of the resulting image. The default value
418- will be the current platform of the buildkit daemon.
417+ this value will also be the platform of the resulting image.
418+
419+ The default value is the platform of the BuildKit daemon where the build runs.
420+ The value takes the form of ` os/arch ` or ` os/arch/variant ` . For example,
421+ ` linux/amd64 ` or ` linux/arm/v7 ` . Additionally, the ` --platform ` flag also supports
422+ a special ` local ` value, which tells BuildKit to use the platform of the BuildKit
423+ client that invokes the build.
419424
420425When using ` docker-container ` driver with ` buildx ` , this flag can accept multiple
421426values as an input separated by a comma. With multiple values the result will be
You can’t perform that action at this time.
0 commit comments