Skip to content

Instantly share code, notes, and snippets.

@gesellix
Created May 1, 2016 22:39
Show Gist options
  • Star 19 You must be signed in to star a gist
  • Fork 16 You must be signed in to fork a gist
  • Save gesellix/d61d68e20ab09ac3561a3c16e619c25a to your computer and use it in GitHub Desktop.
Save gesellix/d61d68e20ab09ac3561a3c16e619c25a to your computer and use it in GitHub Desktop.
screen and Docker for Mac
screen ~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/tty



screen -AmdS docker ~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/tty
screen -r docker
# enter, then disconnect with Ctrl-a d
screen -S docker -p 0 -X stuff $(printf root\\r\\n)
screen -r docker

screen -S docker -X quit
@lokanadhamm
Copy link

lokanadhamm commented May 31, 2018

Docker will start a screen on the host??
Any Documentation on how it works??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment