docker compose attach

DescriptionAttach local standard input, output, and error streams to a service's running container
Usagedocker compose attach [OPTIONS] SERVICE

Description

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

Options

OptionDefaultDescription
--detach-keysOverride the key sequence for detaching from a container.
--indexindex of the container if service has multiple replicas.
--no-stdinDo not attach STDIN
--sig-proxytrueProxy all received signals to the process