This build creates an OpenSSH container based on Archlinux.
The container uses an easy-to-use passwordless root access :P
Download a prebuilt image from the registry.
docker pull lucacesari/openssh
Build it by hand.
docker build -t="lucacesari/openssh" github.com/lucacesari/docker-openssh
- Start the container.
docker run -d -p 22:22 lucacesari/openssh
- Connect to the container.
ssh root@localhost -p 22