Skip to content

Instantly share code, notes, and snippets.

@morlay
Created November 1, 2014 08:17
Show Gist options
  • Save morlay/6d2b7e6f96e83050836e to your computer and use it in GitHub Desktop.
Save morlay/6d2b7e6f96e83050836e to your computer and use it in GitHub Desktop.
  1. brew install docker && brew install boot2docker.
  2. boot2docker download to get the lastest server iso.
  3. boot2docker init to host it to VitualBox.
  4. boot2docker up to start the boot2docker-vm. follow console and set environment variables. if you have AnyConnect VPN, DOCKER_HOST should be set to tcp://127.0.0.1:2376 and run VBoxManage controlvm boot2docker-vm natpf1 "docker,tcp,127.0.0.1,2376,,2376"
  5. docker version to check anything is ok.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment