A simple docker container that runs ssh
To build the image do:
docker build -t kartoza/ssh git://github.com/timlinux/docker-ssh
To run a container do:
docker run --name "ssh" -p 2222:22 -d -t kartoza/ssh
To log into your container do:
ssh root@localhost -p 2222
Default password will appear in docker logs:
docker logs <container name> | grep 'root login password'
Tim Sutton ([email protected]) May 2014