0
0
Fork 0
mirror of https://github.com/atmoz/sftp.git synced 2024-11-17 12:51:33 -05:00
Mirror of atmoz-sftp for building my own containers.
Find a file
2014-10-16 22:08:13 +02:00
.dockerignore First commit 2014-10-07 21:34:24 +02:00
Dockerfile Cleanup after install 2014-10-16 22:08:13 +02:00
README.md More about usage 2014-10-07 00:25:49 +02:00
run No need for group, forced sftp 2014-10-16 22:07:39 +02:00
sshd_config No need for group, forced sftp 2014-10-16 22:07:39 +02:00

sftp

SFTP Docker image

Usage

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