Is it possible to ssh to the xhyve machine?

I use:

docker run -it --privileged --pid=host debian nsenter -t 1 -m -u -n -i sh

to enter the docker VM on my Mac.

Once in the VM, you can use tools like ‘top’ to watch the processes running in the VM. The VM is a stripped down version of Alpine Linux so you can even install any debugging tools you want using the Alpine package manager.

7 Likes