docker-machine-driver-xhyve: virtio_net: Could not create vmnet interface, permission denied or no entitlement?

I installed using brew install docker-machine-driver-xhyve ran the chown/chmod, and tried running: docker-machine create dev --driver xhyve --xhyve-experimental-nfs-share

The output looks OK until I get the following:

(dev) Waiting for VM to come online...
(dev) Waiting on a pseudo-terminal to be ready... virtio_net: Could not create vmnet interface, permission denied or no entitlement?

I found #85 but am not sure if this is the same thing.

I tried doing chown/chmod on ht actual /usr/local/bin file instead and get the same results.

I discovered nlf/dhyve#37 with the following:

the file /Library/Preferences/SystemConfiguration/com.apple.vmnet doesn’t exist.

I also do not find this file on my system (I am on Yosemite 10.10.5). I have no idea if this is the cause or if it may be something else.

This is really unfortunate since I really like this project.

As a workaround I am able to use https://github.com/ailispaw/boot2docker-xhyve. But I would rather use this one instead, if possible.

Another comment is that I found a really nice writeup at: https://allysonjulian.com/posts/setting-up-docker-with-xhyve/

About this issue

  • Original URL
  • State: open
  • Created 8 years ago
  • Reactions: 2
  • Comments: 15 (4 by maintainers)

Most upvoted comments

@nhooey wtf, open backing file error…? I’ll quick grep-ing xhyve source, sec.

BTW, Are you done of this setting? https://github.com/zchee/docker-machine-driver-xhyve#install

$ sudo chown root:wheel /usr/local/bin/docker-machine-driver-xhyve
$ sudo chmod u+s /usr/local/bin/docker-machine-driver-xhyve