Created
May 26, 2017 11:09
-
-
Save rajata07/9dfdcc0fe6a5c748696b0547f41a52f0 to your computer and use it in GitHub Desktop.
SSH into Docker for Mac xhyve VM
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1. screen ~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/tty | |
| 2. when done use CTRL-A CTRL-\ and then y (for yes) to exit | |
| Alternative method: | |
| 1. docker run -it --privileged --pid=host debian nsenter -t 1 -m -u -n -i sh | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment