-
I see in the README that if I perform a Control-P Control-Q I can detach from the container after attaching. I'm not having much luck, and I'm sure that I'm just doing something simple. Control-C kills my terminal and kills the container, not the desired effect. So far, I think I've done it correctly one time, but I struggle with it each time I try detaching. My "workaround" is to leave a terminal connected to the container until I need to reboot. But if someone can clarify that portion of the documentation, then maybe it will help me or someone else doing the same "wrong" keystrokes. I'm hesitant to call this a bug since I think it's user error. Docker is running on my Ubuntu 20.04 desktop, FWIW. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
What more is there to document? This is not specific to this image, so you can read more at https://docs.docker.com/engine/reference/commandline/attach/ Besides, do the other options to send commands not work in your scenario? |
Beta Was this translation helpful? Give feedback.
What more is there to document? This is not specific to this image, so you can read more at https://docs.docker.com/engine/reference/commandline/attach/
Besides, do the other options to send commands not work in your scenario?
docker attach
is considered a last resort.