Probably the most secure and fastest FTP server for UNIX-like systems.
10K+
This docker image extends and distributes the following software:
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.
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.
This procedure starts vsFTPd in a standard virtualised environment.
docker run -it -p 21:21 fikipollo/vsftpdLaunching 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.
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:
docker run will run the container for you.
-p 8021:21 will make the port 21 (inside of the container) available on port 8021 on your host.
Inside the container a vsFTPd server is running on port 21 and that port can be bound to a local port on your host computer.
fikipollo/vsftpd is the Image name, which can be found in the docker hub.
-d will start the docker container in daemon mode.
-e VARIABLE_NAME=VALUE changes the default value for a system variable.
The vsFTPd docker accepts the following variables that modify the behavior of the system in the docker. All variables are optional.
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.
Content type
Image
Digest
Size
3.6 MB
Last updated
almost 8 years ago
docker pull fikipollo/vsftpd