Name: docker-anon-ftp
Owner: MetaBrainz Foundation
Description: null
Created: 2016-10-30 23:41:57.0
Updated: 2017-01-26 11:19:19.0
Pushed: 2016-10-31 15:58:30.0
Homepage: null
Size: 3
Language: Shell
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This image is meant for running something like a public read-only share. User accounts are not supported and all data access is meant to be read only via ftp anonymous login.
View my included docker-compose.yml
for a runtime configuration example or check the below one-liner for a quick launch!
er run -d -p 20-21:20-21 -p 65500-65515:65500-65515 -v /tmp:/var/ftp:ro metabrainz/docker-anon-ftp
There are a series of available variables you can tune at your own discretion. The defaults are most likely acceptable for most use cases.
ANON_ROOT
- The directory in the container which vsftpd will serve out (default: /var/ftp
)PASV_MAX_PORT
- The maximum port for pasv communiation (default: 65515
)PASV_MIN_PORT
- The minimum port for pasv communication (default: 65500
)MAX_PER_IP
- The maximum connections from one host (default: 2
)MAX_LOGIN_FAILS
- Maximum number of login failures before kicking (default: 2
)MAX_CLIENTS
- Maximum number of simultaneously connected clients (default: 50
)ANON_MAX_RATE
- Maximum bandwidth allowed per client in bytes/sec (default: 6250000
)FTPD_BANNER
- An ftpd banner displayed when a client connects (default: Welcome to an awesome public FTP Server
)BANNER_FILE
- File containing ftpd banner (default: ``)--net=host
. This is the preferred way to use ftp!