docker attach
Attach local standard input, output, and error streams to a running container.
Last updated
Attach local standard input, output, and error streams to a running container.
Last updated
Use docker attach to attach your terminal’s standard input, output, and error (or any combination of the three) to a running container using the container’s ID or name. This allows you to view its ongoing output or to control it interactively, as though the commands were running directly in your terminal.
docker attach [OPTIONS] CONTAINER
Name, shorthand
Default
Description
--detach-keys
Override the key sequence for detaching a container
--no-stdin
Do not attach STDIN
--sig-proxy
true
Proxy all received signals to the process