
So once you have your fresh boot2docker.iso on your host system replace the old one at ~/.boot2docker/boot2docker.iso: $ boot2docker stop $ mv ~/.boot2docker/boot2docker.iso ~/.boot2docker/ $ mv boot2docker.iso ~/.boot2docker/boot2docker.iso $ docker run -i -t -rm mattes/boot2docker-vbga /bin/bash # and then in another shell: $ docker cp :boot2docker.iso boot2docker.iso The only thing that worked for me was: # this works. I tried that with different Docker versions and with Docker 1.0 obviously. … which returns either an empty file or an iso file which doesn’t boot correctly. To copy that iso file to the host system I often see: # this does not work for me $ docker run -i -t -rm mattes/boot2docker-vbga > boot2docker.iso I had to add the following.īuilding that Dockerfile should save the boot2docker.iso in the resulting Docker image.

Trying to set “Auto-mount” to “yes” DOESN’T WORK for me, unfortunately. Or use brew: brew install docker brew install boot2docker If not, follow and use the Docker OSX Installer. Prerequisites: The following assumes you already have boot2docker installed. I ran into a lot of issues and problems, so I thought it would be nice to document the steps that worked out for me. So I tried to built my own custom boot2docker.iso following the steps from the pull request above.

Though, there is a pull request to include VB guest additions, see SvenDowideit (boot2docker repo owner) commented on May 30 ( link) This may change in future, but we havn’t completed our original feature set yet.” “we’re making boot2docker as simple and small as possible - so at this point, adding tools that are not relevant to all usecases (bare HW, vbox, vagrant, hyper-v, vmware, kvm, etc) is not on the plan. It’s still unclear to me, if the VirtualBox Guest Additions will make it into boot2docker any time soon/ ever. The issue is that boot2docker doesn’t support -v /Users/mattes/project1:/data/project1 out of the box since it doesn’t include VirtualBox Guest Additions.
