Text was copied from man-pages https://raw.githubusercontent.com/docker/docker/master/docs/man/docker-attach.1.md
Signed-off-by: Jyrki Puttonen <jyrkiput@gmail.com>
| ... | ... |
@@ -148,10 +148,10 @@ container at the same time - screen sharing style, or quickly view the |
| 148 | 148 |
progress of your daemonized process. |
| 149 | 149 |
|
| 150 | 150 |
You can detach from the container again (and leave it running) with |
| 151 |
-`CTRL-C` (for a quiet exit) or `CTRL-\` |
|
| 152 |
-to get a stacktrace of the Docker client when it quits. When |
|
| 153 |
-you detach from the container's process the exit code will be returned |
|
| 154 |
-to the client. |
|
| 151 |
+`CTRL-p CTRL-q` (for a quiet exit), or `CTRL-c` which will send a |
|
| 152 |
+SIGKILL to the container, or `CTRL-\` to get a stacktrace of the |
|
| 153 |
+Docker client when it quits. When you detach from the container's |
|
| 154 |
+process the exit code will be returned to the client. |
|
| 155 | 155 |
|
| 156 | 156 |
To stop a container, use `docker stop`. |
| 157 | 157 |
|