0
0
Fork 0
mirror of https://github.com/atmoz/sftp.git synced 2024-11-24 12:59:24 -05:00
atmoz-sftp/README.md

19 lines
397 B
Markdown
Raw Normal View History

2014-10-06 15:40:59 -04:00
sftp
====
SFTP Docker image
Usage
-----
2014-10-06 18:25:49 -04:00
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="<some-user>:<password>,<another-user>:<password>" \
-v some-dir:/home/<some-user>/some-dir \
-v another-dir:/home/<another-user>/another-dir \
-p 2222:22 -d atmoz/sftp
```