From 5f92ecb4fc76e7a1003de7bf991ccc8df06c1e96 Mon Sep 17 00:00:00 2001 From: Matt Date: Wed, 18 Feb 2015 18:12:37 -0500 Subject: [PATCH] Added docs on logging into the SFTP server --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 47689b5..8701f64 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,19 @@ docker run \ foo:123:1001 ``` +#### Logging in + +The SFTP server runs in the container on port 22, and in this example, you are forwarding the container's port 22 to the host's port 2222. + +To log into the STFP server, run + +``` +sftp -P 2222 foo@docker.host.tld +``` + +with docker.host.tld being the address (IP or domain name) of the machine running the Docker daemon. + + ### Multiple users and volumes ```