From 17c854b0f6caf3a899e0505f79d441a2bf4897ac Mon Sep 17 00:00:00 2001 From: Adrian Dvergdal Date: Tue, 7 Oct 2014 00:25:49 +0200 Subject: [PATCH] More about usage --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index dc8d0ef..47389f5 100644 --- a/README.md +++ b/README.md @@ -6,4 +6,13 @@ SFTP Docker image Usage ----- -`docker run -p 2222:22 -v some-dir:/home/user/some-dir -e SFTP_USERS="user:password" -d atmoz/sftp` +Define users and passwords in comma separated list (user1:pass1,user2:pass2), and mount filesystem as folder in user's home folder. + +``` +docker run \ + -e SFTP_USERS=":,:" \ + -v some-dir:/home//some-dir \ + -v another-dir:/home//another-dir \ + -p 2222:22 -d atmoz/sftp +``` +