mirror of
https://github.com/docker/buildx.git
synced 2024-11-22 15:37:16 +08:00
Merge pull request #1403 from jedevc/docs-fixups
Docs consistency fixes
This commit is contained in:
commit
b4de4826c4
@ -27,11 +27,12 @@ container
|
|||||||
The following table describes the available driver-specific options that you can
|
The following table describes the available driver-specific options that you can
|
||||||
pass to `--driver-opt`:
|
pass to `--driver-opt`:
|
||||||
|
|
||||||
| Parameter | Value | Default | Description |
|
| Parameter | Type | Default | Description |
|
||||||
| --------------- | ------ | ---------------- | ------------------------------------------------------------------------------------------ |
|
| --------------- | ------ | ---------------- | ------------------------------------------------------------------------------------------ |
|
||||||
| `image` | String | | Sets the image to use for running BuildKit. |
|
| `image` | String | | Sets the image to use for running BuildKit. |
|
||||||
| `network` | String | | Sets the network mode for running the BuildKit container. |
|
| `network` | String | | Sets the network mode for running the BuildKit container. |
|
||||||
| `cgroup-parent` | String | `/docker/buildx` | Sets the cgroup parent of the BuildKit container if Docker is using the `cgroupfs` driver. |
|
| `cgroup-parent` | String | `/docker/buildx` | Sets the cgroup parent of the BuildKit container if Docker is using the `cgroupfs` driver. |
|
||||||
|
| `env.<key>` | String | | Sets the environment variable `key` to the specified `value` in the BuildKit container. |
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ $ docker buildx create \
|
|||||||
The following table describes the available driver-specific options that you can
|
The following table describes the available driver-specific options that you can
|
||||||
pass to `--driver-opt`:
|
pass to `--driver-opt`:
|
||||||
|
|
||||||
| Parameter | Value | Default | Description |
|
| Parameter | Type | Default | Description |
|
||||||
| ----------------- | ----------------- | --------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
|
| ----------------- | ----------------- | --------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
|
||||||
| `image` | String | | Sets the image to use for running BuildKit. |
|
| `image` | String | | Sets the image to use for running BuildKit. |
|
||||||
| `namespace` | String | Namespace in current Kubernetes context | Sets the Kubernetes namespace. |
|
| `namespace` | String | Namespace in current Kubernetes context | Sets the Kubernetes namespace. |
|
||||||
|
@ -17,7 +17,7 @@ $ docker buildx create \
|
|||||||
The following table describes the available driver-specific options that you can
|
The following table describes the available driver-specific options that you can
|
||||||
pass to `--driver-opt`:
|
pass to `--driver-opt`:
|
||||||
|
|
||||||
| Parameter | Value | Default | Description |
|
| Parameter | Type | Default | Description |
|
||||||
| ------------ | ------ | ------------------ | ---------------------------------------------------------- |
|
| ------------ | ------ | ------------------ | ---------------------------------------------------------- |
|
||||||
| `key` | String | | Sets the TLS client key. |
|
| `key` | String | | Sets the TLS client key. |
|
||||||
| `cert` | String | | Sets the TLS client certificate to present to `buildkitd`. |
|
| `cert` | String | | Sets the TLS client certificate to present to `buildkitd`. |
|
||||||
|
@ -19,7 +19,7 @@ $ docker buildx build --output type=registry[,parameters] .
|
|||||||
The following table describes the available parameters that you can pass to
|
The following table describes the available parameters that you can pass to
|
||||||
`--output` for `type=image`:
|
`--output` for `type=image`:
|
||||||
|
|
||||||
| Parameter | Value | Default | Description |
|
| Parameter | Type | Default | Description |
|
||||||
| ---------------------- | -------------------------------------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| ---------------------- | -------------------------------------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||||
| `name` | String | | Specify image name(s) |
|
| `name` | String | | Specify image name(s) |
|
||||||
| `push` | `true`,`false` | `false` | Push after creating the image. |
|
| `push` | `true`,`false` | `false` | Push after creating the image. |
|
||||||
|
@ -21,7 +21,7 @@ $ docker buildx build --output type=tar[,parameters] .
|
|||||||
|
|
||||||
The following table describes the available parameters:
|
The following table describes the available parameters:
|
||||||
|
|
||||||
| Parameter | Value | Default | Description |
|
| Parameter | Type | Default | Description |
|
||||||
| --------- | ------ | ------- | --------------------- |
|
| --------- | ------ | ------- | --------------------- |
|
||||||
| `dest` | String | | Path to copy files to |
|
| `dest` | String | | Path to copy files to |
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@ $ docker buildx build --output type=docker[,parameters] .
|
|||||||
|
|
||||||
The following table describes the available parameters:
|
The following table describes the available parameters:
|
||||||
|
|
||||||
| Parameter | Value | Default | Description |
|
| Parameter | Type | Default | Description |
|
||||||
| ------------------- | -------------------------------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------- |
|
| ------------------- | -------------------------------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------- |
|
||||||
| `name` | String | | Specify image name(s) |
|
| `name` | String | | Specify image name(s) |
|
||||||
| `dest` | String | | Path |
|
| `dest` | String | | Path |
|
||||||
|
Loading…
Reference in New Issue
Block a user