docker attach

From wikieduonline
Jump to navigation Jump to search

https://docs.docker.com/engine/reference/commandline/attach/

docker attach CONTAINER_NAME

CTRL-p CTRL-q detach key sequence produces no effect, but pressing CTRL-c or typing exit terminates the container.


docker exec -it CONTAINER bash 

See also[edit]

Advertising: