Skip to content

Instantly share code, notes, and snippets.

@fernaspiazu
Last active August 27, 2015 09:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fernaspiazu/6fa8b812ba98ce20c8fe to your computer and use it in GitHub Desktop.
Save fernaspiazu/6fa8b812ba98ce20c8fe to your computer and use it in GitHub Desktop.
How to detach from a running container keeping it running
Ctrl+P+Q detaches from a docker container without stopping it.
To be consistent with every other docker command Ctrl+C terminates the process/container and Ctrl+P+Q detaches.
Based on this discussion: https://github.com/docker/docker/issues/2855
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment