Giter VIP home page Giter VIP logo

docker-vsftpd's Introduction

loicmathieu/vsftpd

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

For FTPS configurations, by default, PEM and PKCS-12 certificate keystore files are generated to /etc/vsftpd/private location and are used by FTPS server. You can provide your own certificate keystore file, instead, by passing volume to docker run command. For example, below command will have FTPS server use the provided certificate keystore PEM file found at /tmp/my_pem_file_dir on the host machine. Make sure the file is named as vsftpd.pem.

docker run --volume "/tmp/my_pem_file_dir:/etc/vsftpd/private" loicmathieu/vsftpd ftps

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

docker-vsftpd's People

Contributors

loicmathieu avatar srids avatar usualoma avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.