1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #607 from dotcloud/expose_api_port_vagrant-feature

* Vagrantfile: Add the rest api port to vagrantfile's port_forward
This commit is contained in:
Guillaume J. Charmes 2013-06-14 14:35:53 -07:00
commit f0e43dcdb1

1
Vagrantfile vendored
View file

@ -10,6 +10,7 @@ Vagrant::Config.run do |config|
# Setup virtual machine box. This VM configuration code is always executed.
config.vm.box = BOX_NAME
config.vm.box_url = BOX_URI
config.vm.forward_port 4243, 4243
# Provision docker and new kernel if deployment was not done
if Dir.glob("#{File.dirname(__FILE__)}/.vagrant/machines/default/*/id").empty?