734 B
734 B
Make your OpenSSH fly on Alpine
Overview
Use this Dockerfile / -image to start a sshd-server upon a lightweight Alpine container.
Features
- Always installs the latest OpenSSH-Version available for Alpine
- Password of "root"-user can be changed when starting the container using --env
Basic Usage
$ docker run --rm \
--publish=1337:22 --env ROOT_PASSWORD=MyRootPW!23 \
hermsi/alpine-sshd
Use with docker-compose
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