Hacker News new | ask | show | jobs
by alisnic 4022 days ago
This is great, is it possible to make it work with Docker?

Edit: Yes, it is.

Edit2: It is possible, but whether is it worth it or not is still a question. xhyve is a supervisor after all, you still need to boot a vm to use Docker. So if you like me, thought for a second that this can make containers in OSX a reality, don't get excited too early.

5 comments

It explicitly says: xhyve may make a good solution for running Docker on your Mac, for instance.
Well it might be an alternative to virtualbox for boot2docker.
If you want a better solution on OSX than you already have, try https://github.com/codekitchen/dinghy - it does a really great job of wrapping Vagrant and taking care of setting up NFS instead of the incredibly slow default vboxfs.

Alternatively I've used Parallels + NFS with Vagrant for boot2docker but it's a real pain to get set up correctly. Dinghy just did it automatically, and also set up DNS and NTP for me. Can't recommend it enough.

Not sure how useful OS X containers would be. Are you deploying on OS X?
The benefit for me would be quick, isolated development environments. I want to boot a contained swarm of services connected to each other in a single command, and shut them down in a single command as well
And installing docker / docker-compose / machine, etc. using one brew command would be a great addition in order to ease introduction of the tool to the whole team.

    brew install docker docker-compose docker-machine
    open https://kitematic.com/download/
Kitematic might even come with docker, docker-machine. It will then set up a docker machine for you and you're ready to go.
Yes, Kitematic does install docker-machine automatically which also sets up docker.

For CLI, in Kitematic menu there is a button where you can install the binaries.

Will it also install and configure VirtualBox and boot2docker?
Thanks, thats great :)
Are you aware that your OS X machine is, itself, a deployment target for developers somewhere? All environments benefit from enforceable loose coupling.
I develop containers on OS X. I just spin up a linux box in vmware running a docker server listening on TCP.

From my development experience, there's no difference from working directly on a linux box.