Sign inSign up

fikipollo/vsftpd

By fikipollo

•Updated almost 8 years ago

Probably the most secure and fastest FTP server for UNIX-like systems.

Image
0

10K+

fikipollo/vsftpd repository overview

⁠vsFTPd server docker

This docker image extends and distributes the following software:

⁠vsFTPd

⁠Build the image

The docker image for vsFTPd can be found in the docker hub⁠. However, you can rebuild is manually by running docker build.

sudo docker build -t vsftpd .

Note that the current working directory must contain the Dockerfile file.

⁠Running the Container

The recommended way for running your vsFTPd docker is using the provided docker-compose script that resolves the dependencies and make easier to customize your instance. Alternatively you can run the docker manually.

⁠Quickstart

This procedure starts vsFTPd in a standard virtualised environment.

⁠Using the docker-compose file

Launching your vsFTPd docker is really easy using docker-compose. Just download the docker-compose.yml file and customize the content according to your needs. There are few settings that should be change in the file, follow the instructions in the file to configure your container. To launch the container, type:

sudo docker-compose up

Using the -d flag you can launch the containers in background.

In case you do not have the Container stored locally, docker will download it for you.

⁠Install the image

You can run manually your containers using the following commands:

sudo docker run --name vsftpd -v /your/data/location/ftp-data:/home/ -e FTP_USER=myftpuser -e FTP_PASS=supersecret -p 8021:21 -d fikipollo/vsftpd

In case you do not have the Container stored locally, docker will download it for you.

A short description of the parameters would be:

⁠

Note that if you enable PASV mode, the internal ports used for passive mode (i.e. ports PASV_MIN to PASV_MAX) should be mapped to external ports (same ports). For example, if PASV_MIN=21100 and PASV_MAX=21110, you should add the option -p 21100-21110.

⁠Version log

  • v0.9 October 2017: First version of the docker.

Tag summary

Content type

Image

Digest

Size

3.6 MB

Last updated

almost 8 years ago

docker pull fikipollo/vsftpd