Skip to content

Instantly share code, notes, and snippets.

@pantasio
Created April 25, 2019 15:51
Show Gist options
  • Save pantasio/3f857ef24fc8b710e9a86474f09525c7 to your computer and use it in GitHub Desktop.
Save pantasio/3f857ef24fc8b710e9a86474f09525c7 to your computer and use it in GitHub Desktop.
Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.provider "virtualbox" do |vb|
vb.gui = false
vb.name = "docker-example-vm"
vb.memory = "1024"
vb.cpus = 1
end
config.vm.provision "docker" do |d|
d.run "redis",
args: '--name redis -p 6379:6379'
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment