Reference

docker-compose-attach(1)

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

NAME

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

SYNOPSIS

docker compose attach [OPTIONS] SERVICE

DESCRIPTION

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

OPTIONS

--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

OPTIONS INHERITED FROM PARENT COMMANDS

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

SEE ALSO

docker-compose(1)