Back to Docker

docker compose attach

_vendor/github.com/docker/compose/v5/docs/reference/compose_attach.md

18.09-release883 B
Original Source

docker compose attach

<!---MARKER_GEN_START-->

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

Options

NameTypeDefaultDescription
--detach-keysstringOverride the key sequence for detaching from a container.
--dry-runboolExecute command in dry run mode
--indexint0index of the container if service has multiple replicas.
--no-stdinboolDo not attach STDIN
--sig-proxybooltrueProxy all received signals to the process
<!---MARKER_GEN_END-->