Search Docker Hub
sshd
By garethmu
Minimal Alpine Linux Docker container with sshd exposed
417
Mount your .ssh credentials (RSA public keys) at /root/.ssh/ in order to access the container via root ssh.
/root/.ssh/
docker run -d -p 2222:22 -v /secrets/id_rsa.pub:/root/.ssh/authorized_keys:ro garethmu/sshd
Content type
Image
Digest
Size
4.8 MB
Last updated
about 10 years ago
docker pull garethmu/sshd