Open ruebenramirez opened 9 years ago
vagrant docker:
run
parameters - https://docs.vagrantup.com/v2/docker/configuration.htmldocker logs from vagrant:
vagrant docker-logs
Sample Vagrantfile builds and then runs this container with these build/run arguments:
Vagrant.configure("2") do |config|
config.vm.provider "docker" do |d|
d.build_dir = "."
d.name = "myapp"
d.create_args = ["-t"]
d.expose = ["5004"]
d.ports = ["8181:5004"]
end
config.vm.network :forwarded_port, guest: 8181, host: 8181
end
this still doesn't appear to be forwarding the 8181 b2d port to the host machine. I tried http://127.0.0.1:8181 and http://localhost:8181, and neither are working yet