docker-machine-driver-xhyve: Running docker-machine create just hangs with output ending "COM1 connected to /dev/ttys001"

I created with command:

docker-machine create --driver xhyve xhyve-test

But I get stuck with this output:

(xhyve-test) Waiting for VM to come online...
(xhyve-test) Waiting on a pseudo-terminal to be ready... done
(xhyve-test) Hook up your terminal emulator to /dev/ttys001 in order to connect to your VM
(xhyve-test) linkname (null)
(xhyve-test) COM1 connected to /dev/ttys001

Nothing happens and I can’t connect using docker-machine env.

$ docker-machine --version                       
docker-machine version 0.16.2, build bd45ab1

I am on Catalina 10.15.5

I installed docker-machine-driver-xhyve with homebrew:

brew info docker-machine-driver-xhyve
docker-machine-driver-xhyve: stable 0.4.0 (bottled), HEAD

About this issue

  • Original URL
  • State: open
  • Created 4 years ago
  • Reactions: 16
  • Comments: 15

Commits related to this issue

Most upvoted comments

It seems, the problem is in boot2docker.iso

So, the solution works for me:

  1. Download previous version of boot2docker.iso: https://github.com/boot2docker/boot2docker/releases/tag/v19.03.5
  2. Put the file to the $HOME/.docker/machine/cache/boot2docker.iso
  3. Turn off WiFi (or any other way disable Internet temporarily) – the easiest way to prevent auto-upgrading the boot2docker image;
  4. Run docker-machine create;

Profit!

Also, I found a problem with NFS – the previous boot2docker default mount.nfs command doesn’t support 4 version. It’s important to solve the problem because it’s running exactly after virtual machine DHCP provides IP address in the creation process and if this step failed then the machine will not be created.

So, I solved this problem here along with other problem: https://github.com/iworker/docker-machine-driver-xhyve/tree/disable-vmcs-shadowing

It’s not so easy to run make on the branch but it’s possible and it will help 😉

Hello, I’ve the exact same issue on the exact same config, did you find the answer?