Back to Compose

docker compose attach

docs/reference/compose_attach.md

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