This is a docker container to launch vsftpd.
It comes with 4 pre-defined configuration :
- ftp : FTP
- ftps : FTPS explicit
- ftps_implicit : FTPS implicit
- ftps_tls : FTPS explicit with high cypher (ssl_ciphers=HIGH)
To use it : docker run -p <host_port>:21 loicmathieu/vsftpd <configuration_name>
docker pull loicmathieu/vsftpd docker run -p 21:21 loicmathieu/vsftpd ftp
It comes with a pre-defined user : guest with password guest.
PASV is enabled, to use it you need to specify the PASV_ADDRESS env variable pointing to the IP address of the host when launching the container and mapping the ports range 21100-21110:
docker pull loicmathieu/vsftpd docker run -p 21:21 -p21100-21110:21100-21110 --env PASV_ADDRESS=x.x.x.x loicmathieu/vsftpd ftp
Two volumes are defined :
- /home/guest : the FTP data directory of the guest user (the only available by default)
- /var/log/vsftpd : the log directory
Hi @kk1983 this is resolved now in the latest image
In FTPS protocol, you should use the passive mode. Can you tell me if it solves your isue?
I used your docker file and got a issue with ftps. when i finished the ftps upload/download and close the connection. the ftps container will stopped. i have to manually start the container to make it work again.