Appearance
Fresh
docker compose attach
Back
docker compose attach
Copy as Markdown
Open MarkdownAsk Docs AIClaudeOpen in Claude
| Description | Attach local standard input, output, and error streams to a service's running container | | Usage | docker compose attach [OPTIONS] SERVICE |
Description
Attach local standard input, output, and error streams to a service's running container
Options
| Option | Default | Description |
|---|---|---|
--detach-keys | Override the key sequence for detaching from a container. | |
--index | index of the container if service has multiple replicas. | |
--no-stdin | Do not attach STDIN | |
--sig-proxy | true | Proxy all received signals to the process |