docs: add env parameter to docker-container driver

Signed-off-by: Justin Chadwell <me@jedevc.com>
This commit is contained in:
Justin Chadwell 2022-11-10 10:41:25 +00:00
parent d1b454232d
commit 9bb9ae43f9

View File

@ -32,6 +32,7 @@ pass to `--driver-opt`:
| `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