SSH into Docker containers by name

I hacked together an SSH proxy so that you can direct SSH into docker containers using their name. It’s on github, excerpt from the README:

docker-ssh

Allows connecting to all your local docker containers using ssh simply like this:

ssh container-name.docker

if container-name is the name of the container and ssh is running in it. Automatically install for the current user using

curl -s https://raw.githubusercontent.com/henrik-muehe/docker-ssh/master/install | /bin/bash

Enjoy!

comments powered by Disqus
Blog by .