Note caveat with detaching using key sequence
This has come up a few times, e.g. https://github.com/moby/moby/issues/20864 and https://github.com/moby/moby/issues/35491 Signed-off-by: Ben Creasy <ben@bencreasy.com> (cherry picked from commit767b25fc52) Signed-off-by: Sebastiaan van Stijn <github@gone.nl> Upstream-commit:8dc400713fComponent: cli
This commit is contained in:
committed by
Sebastiaan van Stijn
parent
d6ea168f88
commit
3adaef1e74
@ -44,8 +44,8 @@ from different sessions on the Docker host.
|
||||
|
||||
To stop a container, use `CTRL-c`. This key sequence sends `SIGKILL` to the
|
||||
container. If `--sig-proxy` is true (the default),`CTRL-c` sends a `SIGINT` to
|
||||
the container. You can detach from a container and leave it running using the
|
||||
`CTRL-p CTRL-q` key sequence.
|
||||
the container. If the container was run with `-i` and `-t`, you can detach from
|
||||
a container and leave it running using the `CTRL-p CTRL-q` key sequence.
|
||||
|
||||
> **Note:**
|
||||
> A process running as PID 1 inside a container is treated specially by
|
||||
|
||||
Reference in New Issue
Block a user