Skip to content

Latest commit

 

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 ([email protected]) May 2014