Skip to content

Instantly share code, notes, and snippets.

@troyscott
Created November 11, 2018 02:23
Show Gist options
  • Save troyscott/e3c8706d4d4cf29b6ec143383984dccc to your computer and use it in GitHub Desktop.
Save troyscott/e3c8706d4d4cf29b6ec143383984dccc to your computer and use it in GitHub Desktop.
Using vagrant with docker provisioning.
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