I would like to be able to SSH into the MobyLinuxVM that the Docker for Windows Beta creates and uses in Hyper-V. I used to be able to do this using docker-machine (pre-Beta), but since it’s not used to manage this Beta VM (why?), I don’t seem to be able to any more.
Aside from being able to debug internals of the VM when something isn’t working, we SSH into that VM in scripts in order to automatically figure out the location of docker inside the VM (eg. “which docker”) so it can be mapped into a container, along with the docker.sock so that we can do docker stuff inside our containers (we use containers to build other containers as a part of our CI solution).
As a temporary workaround I manually found the location of docker inside the VM by mounting various bits of its filesystem as a volume in a container and then ls-ing, and I’ve hardcoded that location in my scripts, but that’s not a great solution.
How can I SSH into this new magical MobyLinuxVM?
Thanks in advance.