Document Option Types for stringSlice and stringArray
Call out differences between stringSlice and stringArray. Clarification for #396
This commit is contained in:
@@ -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 |
|
||||
| [`--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-->
|
||||
|
||||
### 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
|
||||
|
||||
The `buildx build` command starts a build using BuildKit. This command is similar
|
||||
|
||||
Reference in New Issue
Block a user