alpine lite sshd with settable password
393
Use this Dockerfile / -image to start a sshd-server upon a lightweight Alpine container.
$ docker run --rm \
--publish=1337:22 \
--env ROOT_PASSWORD=MyRootPW123 \
romsla/docker-sshd
After the container is up you are able to ssh in it as root with the in --env provided password for "root"-user.
$ ssh [email protected] -p 1337
I built this image in order to use it along with a nginx and fpm-php container for transferring files via sftp. If you are interested in a Dockerfile which fulfills this need: this way
Content type
Image
Digest
Size
3.3 MB
Last updated
almost 9 years ago
docker pull romsla/docker-sshd