Small and flexible docker image with vsftpd server with tls
Find a file
2022-02-25 10:57:08 +03:00
.github/workflows Automated multi-arch build via github actions 2021-02-16 22:21:12 +01:00
Dockerfile Update to Alpine 3.15 2022-02-25 10:57:08 +03:00
README.md add note about address env (#27) 2022-02-25 09:56:11 +03:00
start_vsftpd.sh Start vsftpd with PID 1; write logs to stdout 2019-11-28 22:03:06 +03:00
vsftpd.conf Merge pull request #5 from TrueOsiris/master 2019-11-28 22:11:40 +03:00

docker-alpine-ftp-server

Docker Stars Docker Pulls Docker Automated build Docker Build Status MicroBadger Layers MicroBadger Size
Small and flexible docker image with vsftpd server

Usage

docker run -d \
    -p 21:21 \
    -p 21000-21010:21000-21010 \
    -e USERS="one|1234" \
    -e ADDRESS=ftp.site.domain \
    delfer/alpine-ftp-server

Configuration

Environment variables:

  • USERS - space and | separated list (optional, default: ftp|alpineftp)
    • format name1|password1|[folder1][|uid1] name2|password2|[folder2][|uid2]
  • ADDRESS - external address witch clients can connect passive ports (optional, should resolve to ftp server ip address)
  • MIN_PORT - minimum port number to be used for passive connections (optional, default 21000)
  • MAX_PORT - maximum port number to be used for passive connections (optional, default 21010)

USERS examples

  • user|password foo|bar|/home/foo
  • user|password|/home/user/dir|10000
  • user|password||10000