Created
November 11, 2018 02:23
-
-
Save troyscott/e3c8706d4d4cf29b6ec143383984dccc to your computer and use it in GitHub Desktop.
Using vagrant with docker provisioning.
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.configure("2") do |config| | |
config.vm.hostname = "docker-host" | |
config.vm.box_check_update = false | |
config.ssh.insert_key = false | |
config.vm.box = "puphpet/ubuntu1404-x64" | |
config.vm.synced_folder "./", "/vagrant", type: "smb" | |
config.vm.network "forwarded_port", guest: 8081, host: 8081 | |
config.vm.provision "docker", | |
images: ["alpine"] | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment