Skip to content

Instantly share code, notes, and snippets.

@emyl
Created December 14, 2013 10:14
Show Gist options
  • Select an option

  • Save emyl/7957617 to your computer and use it in GitHub Desktop.

Select an option

Save emyl/7957617 to your computer and use it in GitHub Desktop.
Vagrant + Docker = Wordpress
Vagrant.configure("2") do |config|
config.vm.box = "precise64"
config.vm.network :forwarded_port, :guest => 8080, :host => 8080
config.vm.provision "docker" do |d|
d.pull_images "jbfink/docker-wordpress"
d.run "jbfink/docker-wordpress", :args => "-d -p 8080:80"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment