This repository provides a Dockerized setup for running VSFTPD (Very Secure FTP Daemon) in a container using Docker and Docker Compose. VSFTPD is a popular FTP server software that offers secure and efficient file transfer capabilities.
The goal of this project is to simplify the process of setting up a VSFTPD server by encapsulating it within a Docker container. By using Docker and Docker Compose, you can easily deploy and manage the VSFTPD server in any environment that supports Docker.
To quickly get started, follow these steps:
- Install Docker and Docker Compose on your system.
- Clone this repository: git clone https://github.com/sophophilix/docker-vsftpd-container
- Navigate to the repository's directory: cd
docker-vsftpd-container - Create a
.envfile based on the provided.env-templatefile and configure the necessary environment variables. - Build and run the VSFTPD container:
docker-compose up -d - The VSFTPD server should now be up and running.
For detailed instructions and configuration options, please refer to the "Getting Started" section below.
Before proceeding, ensure that you have the following prerequisites installed on your system:
Docker: Install Docker
Docker Compose: Install Docker Compose
To set up and run the VSFTPD server using Docker and Docker Compose, follow these steps:
- Clone this repository to your local machine:
git clone https://github.com/sophophilix/docker-vsftpd-container
- Navigate to the repository's directory:
cd docker-vsftpd-container
- Create a .env file based on the provided .env-template file. The .env file allows you to configure environment variables for the VSFTPD server. Open the .env-template file and configure the necessary variables. Save the file as .env.
cp .env-template .env
-
Build and run the VSFTPD container:
docker-compose up -dThis command will build the Docker image and start the container in detached mode.
-
The VSFTPD server is now up and running. You can connect to it using an FTP client and the specified IP address and ports.
- You can now access the VSFTPD server by connecting to ftp://localhost using an FTP client.
- The VSFTPD server will also be available at {IP_ADDRESS} from your env
- The data volume will be mounted at ${FTP_DATA_PATH} on the host machine. For more advanced configuration options and customization, please refer to the VSFTPD documentation.
brew install ncftpncftp -u {FTP_USER} -p {FTP_PASS} {IP_ADDRESS of your VSFTP Server}all variable values from env- use all regular ftp commands such as put to transfer a file from your mac to the VSFTPD Server, the files will be located at data volume mounted at {FTP_DATA_PATH} on your host machine.
- Navigate to your Brother printers IPAddress http://{Brother-printer-IP}/scan/netscan.html Example: http://192.168.1.113/scan/netscan.html
- Scan to FTP/Network Profile
Profile Name: SomeName Host Address: Your VSFTPD Server IPAddress Port Number: 21 Username: {FTP_USER} from [env](./.env-template) Password: {FTP_PASS} from [env](./.env-template) SSL/TSL : None ( unless you have enabled it) Store Directory: / Rest of the settings: As per your needs
If you find any issues with the Docker image or have suggestions for improvement, feel free to open an issue or submit a pull request. We welcome any contributions that can help make this project better.
This project is licensed under the MIT License. Please see the LICENSE file for more details.
Thank you for choosing the VSFTPD Docker Container! If you have any questions or need further assistance, please don't hesitate to reach out.
Repository: https://github.com/sophophilix/docker-vsftpd-container