2 ms·
re: boot2docker, I experienced the same issues as you and I found it even more annoying with little incompatibilities, etc. I actually did something simple wit
by mahmoudimus 11y ago
re: boot2docker, I experienced the same issues as you and I found it even more annoying with little incompatibilities, etc.
I actually did something simple with both Vagrant and Docker, I'm hoping to bundle it into a self-executable and have it as an alternative to boot2docker.
Right now, it works only on OSX & Linux, but what it does is it uses Vagrant and builds a "docker-host" vm that you spin up manually (or you can just use a launchd script to spin it up on startup). Since Vagrant has great support for setting up a network bridge, I basically created a virtual private network between the host vm and my os. I set up the docker client running locally (brew install docker) and through the network bridge, it creates a pretty seamless experience.
The beauty of Vagrant here is that I can customize the mem, cpu, etc. Vagrant also has rsync support (and rsync-auto!) and of course, great shared folder support with the docker image. I have experimental support to also create this experience on AWS, including spot instance support
You can check it out here: https://github.com/mahmoudimus/docker-host-osx https://github.com/mahmoudimus/docker-host-osx.