From 6318370fa64215025f37e2842b1e89ab4d8cef72 Mon Sep 17 00:00:00 2001 From: Hermsi1337 Date: Wed, 18 Oct 2017 09:03:37 +0200 Subject: [PATCH] add ssh-instructions - just in case --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 20c6b20..8e46fd8 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,11 @@ $ docker run --rm \ 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 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) \ No newline at end of file