Skip to content

Instantly share code, notes, and snippets.

@jamescarr
Created May 19, 2014 18:20
Show Gist options
  • Select an option

  • Save jamescarr/1bf08279e7b2eb476227 to your computer and use it in GitHub Desktop.

Select an option

Save jamescarr/1bf08279e7b2eb476227 to your computer and use it in GitHub Desktop.
Vagrant.configure("2") do |config|
config.vm.provider "docker" do |d|
d.image = "orchardup/jenkins"
d.ports = ["8080:8080"]
end
end
@jamescarr
Copy link
Copy Markdown
Author

I also tried with this:

Vagrant.configure("2") do |config|
  config.vm.network "private_network", ip: "192.168.50.44"
  config.vm.network :forwarded_port, guest: 8080, host: 8080

  config.vm.provider "docker" do |d|
    d.image = "orchardup/jenkins"
    d.ports = ["8080:8080"]
  end
end

curl to both http://localhost:8080 and http://192.168.50.44:8080 return nothing.

Cannot be related to dockerfiles as I have tried others. What gives?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment