Skip to content

Files

Latest commit

958fcad · Jul 16, 2014

History

History
33 lines (22 loc) · 482 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 482 Bytes

docker-ssh

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 (tim@linfiniti.com) May 2014