Update docs

Signed-off-by: Laura Brehm <laurabrehm@hey.com>
This commit is contained in:
Laura Brehm 2022-11-17 12:29:19 +01:00
parent 35d31cc500
commit 6fe03e935e
No known key found for this signature in database
GPG Key ID: 526E3FC49260D47A
2 changed files with 11 additions and 0 deletions

View File

@ -7,6 +7,7 @@ Run a one-off command on a service.
| Name | Type | Default | Description |
| --- | --- | --- | --- |
| `--build` | | | Build image before starting container. |
| `-d`, `--detach` | | | Run container in background and print container ID |
| `--entrypoint` | `string` | | Override the entrypoint of the image |
| `-e`, `--env` | `stringArray` | | Set environment variables |

View File

@ -58,6 +58,16 @@ usage: docker compose run [OPTIONS] SERVICE [COMMAND] [ARGS...]
pname: docker compose
plink: docker_compose.yaml
options:
- option: build
value_type: bool
default_value: "false"
description: Build image before starting container.
deprecated: false
hidden: false
experimental: false
experimentalcli: false
kubernetes: false
swarm: false
- option: detach
shorthand: d
value_type: bool