Last active
August 29, 2015 14:00
-
-
Save kazu69/11258868 to your computer and use it in GitHub Desktop.
mac OSX support Dcoker0.8 width boot2docker-vagrant-box
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vagrant up | |
DOCKER_HOST=tcp://localhost:4243 # if the DOCKER_HOST was set already in ~/.bash_profile. | |
export docker run ubuntu /bin/echo "hello docker" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.box = "boot2docker-0.8.0" | |
config.vm.box_url = "https://github.com/mitchellh/boot2docker-vagrant-box/releases/download/v0.8.0/boot2docker_virtualbox.box" | |
config.vm.network :forwarded_port, guest: 80, host: 8080 | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment