2024-01-09 00:20:10 +01:00
|
|
|
# docker compose attach
|
|
|
|
|
|
|
|
<!---MARKER_GEN_START-->
|
2024-02-14 20:02:37 +01:00
|
|
|
Attach local standard input, output, and error streams to a service's running container
|
2024-01-09 00:20:10 +01:00
|
|
|
|
|
|
|
### Options
|
|
|
|
|
|
|
|
| Name | Type | Default | Description |
|
|
|
|
|:----------------|:---------|:--------|:----------------------------------------------------------|
|
|
|
|
| `--detach-keys` | `string` | | Override the key sequence for detaching from a container. |
|
|
|
|
| `--dry-run` | | | Execute command in dry run mode |
|
|
|
|
| `--index` | `int` | `0` | index of the container if service has multiple replicas. |
|
|
|
|
| `--no-stdin` | | | Do not attach STDIN |
|
|
|
|
| `--sig-proxy` | | | Proxy all received signals to the process |
|
|
|
|
|
|
|
|
|
|
|
|
<!---MARKER_GEN_END-->
|