DOKK / manpages / debian 13 / docker-compose / docker-compose-attach.1.en
DOCKER-COMPOSE-ATTACH(1) DOCKER-COMPOSE-ATTACH(1)

docker-compose-attach - Attach local standard input, output, and error streams to a service's running container

docker compose attach [OPTIONS] SERVICE

Attach local standard input, output, and error streams to a service's running container

--detach-keys="" Override the key sequence for detaching from a container.

-h, --help[=false] help for attach

--index=0 index of the container if service has multiple replicas.

--no-stdin[=false] Do not attach STDIN

--sig-proxy[=true] Proxy all received signals to the process

--dry-run[=false] Execute command in dry run mode

docker-compose(1)

Mar 2025