dotcloud/docker — pull request #2064 by amattn (2013-10-02 00:13:17+00:00)
Title: Vagrantfile: check for API_PORT environment variable

Modify Vagrantfile to check for API_PORT environment variable.

if the ENV['API_PORT'] is found, then:

1. configure /etc/init/docker.conf to startup with -H 0.0.0.0:API_PORT
2. configure vagrant to forward API_PORT from localhost to the VM