Document Option Types for stringSlice and stringArray

Call out differences between stringSlice and stringArray.  Clarification for #396
pull/717/head
Jon Stelly 4 years ago committed by GitHub
parent cd133cee25
commit 937da8877c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -38,9 +38,15 @@ Start a build
| [`-t`](https://docs.docker.com/engine/reference/commandline/build/#tag-an-image--t), [`--tag stringArray`](https://docs.docker.com/engine/reference/commandline/build/#tag-an-image--t) | Name and optionally a tag in the 'name:tag' format | | [`-t`](https://docs.docker.com/engine/reference/commandline/build/#tag-an-image--t), [`--tag stringArray`](https://docs.docker.com/engine/reference/commandline/build/#tag-an-image--t) | Name and optionally a tag in the 'name:tag' format |
| [`--target string`](https://docs.docker.com/engine/reference/commandline/build/#specifying-target-build-stage---target) | Set the target build stage to build. | | [`--target string`](https://docs.docker.com/engine/reference/commandline/build/#specifying-target-build-stage---target) | Set the target build stage to build. |
<!---MARKER_GEN_END--> <!---MARKER_GEN_END-->
### Option Types
| Type | Example | Description |
| --- | --- | --- |
| stringSlice | `--allow network.host,security.insecure` | single option, values separated by commas |
| stringArray | `-t image:0.1 -t image:latest` | multiple instances of the option, one for each value |
## Description ## Description
The `buildx build` command starts a build using BuildKit. This command is similar The `buildx build` command starts a build using BuildKit. This command is similar

Loading…
Cancel
Save