docker attach

Estimated reading time: 1 minute


Attach to a running container


docker attach [OPTIONS] CONTAINER


Name, shorthand Default Description
--detach-keys   Override the key sequence for detaching a container
--no-stdin false Do not attach STDIN
--sig-proxy true Proxy all received signals to the process

Parent command

Command Description
docker The base command for the Docker CLI.

Extended description

Alias for docker container attach.

chat icon Feedback? Suggestions? Can't find something in the docs?
Edit this page Request docs changes Get support
Rate this page: