Skip to content

Instantly share code, notes, and snippets.

@piotrpalek
Last active August 29, 2015 14:05
Show Gist options
  • Save piotrpalek/9361aa423d12a1bfe9ff to your computer and use it in GitHub Desktop.
Save piotrpalek/9361aa423d12a1bfe9ff to your computer and use it in GitHub Desktop.
Install Boot2Docker with VirtualBox guest additions
  1. Go to http://boot2docker.io/ and install boot2docker for your system.
  2. Run boot2docker init from the command line.
  3. Install the custom boot2docker image (with guest additions): curl http://static.dockerfiles.io/boot2docker-v1.2.0-virtualbox-guest-additions-v4.3.14.iso > ~/.boot2docker/boot2docker.iso
  4. Share /Users with the docker vm: VBoxManage sharedfolder add boot2docker-vm -name home -hostpath /Users
  5. You can start docker with: boot2docker up
  6. This should work now (list your /Users directory): boot2docker ssh "ls /Users"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment