vagrant

https://github.com/mitchellh/vagrant

Ruby

Vagrant is a tool for building and distributing development environments.

VagrantPlugins::DockerProvider::Provider#host_vm?

This says whether or not Docker will be running within a VM
rather than directly on our system. Docker needs to run in a VM
when we're not on Linux, or not on a Linux that supports Docker.

Source | Google | Stack overflow

Edit

git clone [email protected]:mitchellh/vagrant.git

cd vagrant

open plugins/providers/docker/provider.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-VagrantPlugins--DockerProvider--Provider-host_vm--for-pr


# Commit to git

git add plugins/providers/docker/provider.rbgit commit -m "better docs for VagrantPlugins::DockerProvider::Provider#host_vm?"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-VagrantPlugins--DockerProvider--Provider-host_vm--for-pr

hub pull-request


# Celebrate!