Connect to Docker Hyperkit VM

Lately I had some troubles with the Docker Hyperkit (OS X) running out of diskspace. So I googled, trashed the .qwoc file, restarted Docker for Mac and voilá, up and running again.

However, as curious as I am, I wanted to know about the VM underneath Docker Hyperkit. I turned out to be accessible with this command:

screen ~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/tty

Whenever you get a black screen, just hit enter. I had no login at all, I just was root (!), others reported that they used the user ‘root’ with no password.

Docker is in /var/lib/docker

Uname -a printed:

Linux moby 4.4.27-moby #1 SMP Wed Oct 26 14:21:29 UTC 2016 x86_64 Linux

Hit Ctrl+A, type :quit and you’re out!

Leave a Reply

Your email address will not be published. Required fields are marked *