A small and configurable Docker image for a vsftpd server.
All environment variables prefixed with VSFTPD_ will be output to the vsftpd.conf file. That is:
VSFTPD_config_option=config_value sets config_option=config_value on vsftpd.confftp:
container_name: ftp
image: josere/vsftpd:latest
environment:
VSFTPD_anon_root: /shared
VSFTPD_listen: 'YES'
VSFTPD_pasv_enable: 'YES'
VSFTPD_pasv_addr_resolve: 'YES'
VSFTPD_pasv_address: ftp.example.com
VSFTPD_pasv_min_port: 21000
VSFTPD_pasv_max_port: 21100
VSFTPD_background: 'NO'
volumes:
- /mnt/hdd:/shared:ro
ports:
- '21:21'
- '21000-21100:21000-21100'
Content type
Image
Digest
Size
3.8 MB
Last updated
over 5 years ago
docker pull josereb/vsftpd