mirror of https://github.com/docker/compose.git
Update docs
Signed-off-by: Laura Brehm <laurabrehm@hey.com>
This commit is contained in:
parent
35d31cc500
commit
6fe03e935e
|
@ -7,6 +7,7 @@ Run a one-off command on a service.
|
||||||
|
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
| --- | --- | --- | --- |
|
| --- | --- | --- | --- |
|
||||||
|
| `--build` | | | Build image before starting container. |
|
||||||
| `-d`, `--detach` | | | Run container in background and print container ID |
|
| `-d`, `--detach` | | | Run container in background and print container ID |
|
||||||
| `--entrypoint` | `string` | | Override the entrypoint of the image |
|
| `--entrypoint` | `string` | | Override the entrypoint of the image |
|
||||||
| `-e`, `--env` | `stringArray` | | Set environment variables |
|
| `-e`, `--env` | `stringArray` | | Set environment variables |
|
||||||
|
|
|
@ -58,6 +58,16 @@ usage: docker compose run [OPTIONS] SERVICE [COMMAND] [ARGS...]
|
||||||
pname: docker compose
|
pname: docker compose
|
||||||
plink: docker_compose.yaml
|
plink: docker_compose.yaml
|
||||||
options:
|
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
|
- option: detach
|
||||||
shorthand: d
|
shorthand: d
|
||||||
value_type: bool
|
value_type: bool
|
||||||
|
|
Loading…
Reference in New Issue