add ssh-instructions - just in case

This commit is contained in:
Hermsi1337 2017-10-18 09:03:37 +02:00
parent 6f77f52653
commit 6318370fa6

View File

@ -14,6 +14,11 @@ $ docker run --rm \
hermsi/alpine-sshd hermsi/alpine-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 root@mydomain.tld -p 1337
```
### 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. <br> I built this image in order to use it along with a nginx and fpm-php container for transferring files via sftp. <br>
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)