mirror of
https://github.com/docker/compose.git
synced 2025-09-22 09:17:42 +02:00
Apply suggestions from code review
Co-authored-by: Allie Sadler <102604716+aevesdocker@users.noreply.github.com> Signed-off-by: Nicolas De loof <nicolas.deloof@gmail.com> Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
parent
0cdc5c9bff
commit
c75418ee07
@ -20,7 +20,7 @@ a script.
|
|||||||
| `--dry-run` | `bool` | | Execute command in dry run mode |
|
| `--dry-run` | `bool` | | Execute command in dry run mode |
|
||||||
| `-e`, `--env` | `stringArray` | | Set environment variables |
|
| `-e`, `--env` | `stringArray` | | Set environment variables |
|
||||||
| `--index` | `int` | `0` | Index of the container if service has multiple replicas |
|
| `--index` | `int` | `0` | Index of the container if service has multiple replicas |
|
||||||
| `-T`, `--no-TTY` | `bool` | `true` | Disable pseudo-TTY allocation. By default `docker compose exec` allocates a TTY. |
|
| `-T`, `--no-tty` | `bool` | `true` | Disable pseudo-TTY allocation. By default `docker compose exec` allocates a TTY. |
|
||||||
| `--privileged` | `bool` | | Give extended privileges to the process |
|
| `--privileged` | `bool` | | Give extended privileges to the process |
|
||||||
| `-u`, `--user` | `string` | | Run the command as this user |
|
| `-u`, `--user` | `string` | | Run the command as this user |
|
||||||
| `-w`, `--workdir` | `string` | | Path to workdir directory for this command |
|
| `-w`, `--workdir` | `string` | | Path to workdir directory for this command |
|
||||||
|
@ -58,7 +58,7 @@ options:
|
|||||||
experimentalcli: false
|
experimentalcli: false
|
||||||
kubernetes: false
|
kubernetes: false
|
||||||
swarm: false
|
swarm: false
|
||||||
- option: no-TTY
|
- option: no-tty
|
||||||
shorthand: T
|
shorthand: T
|
||||||
value_type: bool
|
value_type: bool
|
||||||
default_value: "true"
|
default_value: "true"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user