This is a small Alpine-based container containung Dropbear SSH.
USER and PASSWORD environment variables (in cleartext).example:
docker run -d --rm \
-e USER=myusername \
-e PASSWORD=mypassword \
-p 2222:22 \
quay.io/0xff/alpine-sshd
To use key based authentication, set the AUTHORIZED_KEYS environment variable.
In that case you can omit setting PASSWORD.
See docker-compose.yml.
Options used in this container:
-R Create hostkeys as required
-F Don't fork into background
-E Log to stderr rather than syslog
-w Disallow root logins
-g Disable password logins for root
Content type
Image
Digest
Size
2.9 MB
Last updated
over 7 years ago
docker pull 0xff/alpine-sshd