Update README.md

This commit is contained in:
Dennis Hermsmeier 2018-12-01 16:15:07 +01:00 committed by GitHub
parent 4d2256aceb
commit 12936455b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,6 +6,7 @@ Use this Dockerfile / -image to start a sshd-server upon a lightweight Alpine co
### Features ### Features
* Always installs the latest OpenSSH-Version available for Alpine * Always installs the latest OpenSSH-Version available for Alpine
* Password of "root"-user can be changed when starting the container using --env * Password of "root"-user can be changed when starting the container using --env
* You can choose between ssh-keypair- and password auth
### Basic Usage ### Basic Usage
#### Authentication by password #### Authentication by password
@ -34,4 +35,4 @@ $ ssh root@mydomain.tld -p 1337 -i /path/to/private_key
``` ```
### Use with docker-compose ### 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. 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](https://github.com/Hermsi1337/docker-compose/blob/master/full_php_dev_stack/docker-compose.yml) If you are interested in a Dockerfile which fulfills this need: [this way](https://github.com/Hermsi1337/docker-compose/blob/master/full_php_dev_stack/docker-compose.yml)