mirror of https://github.com/docker/compose.git
884 B
884 B
docker compose attach
Attach local standard input, output, and error streams to a service's running container
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 |