vagrant
https://github.com/mitchellh/vagrant
Ruby
Vagrant is a tool for building and distributing development environments.
VagrantPlugins::DockerProvider::Communicator#container_ssh_command
This returns the raw SSH command string that can be used to connect via SSH to the container if you're on the same machine as the container.
Edit
git clone [email protected]:mitchellh/vagrant.git
cd vagrant
open plugins/providers/docker/communicator.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-VagrantPlugins--DockerProvider--Communicator-container_ssh_command-for-pr
# Commit to gitgit add plugins/providers/docker/communicator.rbgit commit -m "better docs for VagrantPlugins::DockerProvider::Communicator#container_ssh_command"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-VagrantPlugins--DockerProvider--Communicator-container_ssh_command-for-pr
hub pull-request
# Celebrate!