Giter Site home page Giter Site logo

karoltheguy / proftpd Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 36 KB

FTP Server docker image of ProFTPD software based on Debian:bullseye

Home Page: https://hub.docker.com/r/carolouellet/proftpd

License: GNU General Public License v2.0

Dockerfile 44.26% Shell 55.74%

proftpd's Introduction

proftpd

FTP Server docker image of ProFTPD software based on Debian:bullseye

Users

You can provide your users list by mounting folder containing users files in /users with the format :

user password home_dir

The home_dir can be a mounted volume from the host. This directory must be readable and writable by user 1000, gid 1000.

docker run --name proftpd -d -p 21:21 -v /$PWD/example_userdir/ftproot:/home_dir -v $PWD/example_userdir/users:/users carolouellet/proftpd

Custom configuration

Put your custom conf in /etc/proftpd/conf.d

See example_userdir folders.

Active Mode

The active mode of FTP require to publish the port 21 of the container.

docker run --name proftpd -d -p 21:21 -v $PWD/example_userdir/users:/users carolouellet/proftpd

Passive Mode

In this mode, the container must publish port 50000 to 50050 (see proftpd.conf). Since docker use NAT to publish port, you have to tell to proftpd your host ip (or your public ip). An example is in example_userdir/conf.d. Mount the conf.d at /etc/proftpd/conf.d (see custom conf section bellow).

docker run --name proftpd -d -p 21:21 -p 50000-50050:50000-50050 -v $PWD/example_userdirles/conf.d:/etc/proftpd/conf.d -v $PWD/example_userdir/users:/users carolouellet/proftpd

Custom Proftpd configuration

Proftpd read his configuration in /etc/prodtpd. You can provide your own configuration in /proftpd to override the configuration.

proftpd's People

Watchers

Carol Ouellet 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.