Difference between revisions of "Docker attach"
Jump to navigation
Jump to search
(Created page with "https://docs.docker.com/engine/reference/commandline/attach/ == See also == * {{docker}}") |
|||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | {{lc}} | ||
https://docs.docker.com/engine/reference/commandline/attach/ | 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 == | == See also == | ||
− | * {{docker}} | + | * {{docker exec}} |
+ | |||
+ | [[Category:Docker]] |
Latest revision as of 14:07, 31 January 2024
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: