2020-07-10 16:27:43 +00:00
|
|
|
# FTP Server
|
|
|
|
|
|
|
|
A simple FTP server, using `vsftpd`.
|
|
|
|
|
|
|
|
## How to use this image
|
|
|
|
|
|
|
|
### Start a FTP Server instance
|
|
|
|
|
2021-04-12 22:24:28 +00:00
|
|
|
To start a container, with data stored in `/data` on the host, use the
|
|
|
|
following:
|
|
|
|
|
2020-07-10 16:27:43 +00:00
|
|
|
```sh
|
|
|
|
docker run \
|
|
|
|
--detach \
|
|
|
|
--env FTP_PASS=123 \
|
2021-04-12 21:21:22 +00:00
|
|
|
--env FTP_USER=user \
|
|
|
|
--name my-ftp-server \
|
|
|
|
--publish 20-21:20-21/tcp \
|
|
|
|
--publish 40000-40009:40000-40009/tcp \
|
2020-07-10 16:27:43 +00:00
|
|
|
--volume /data:/home/user \
|
|
|
|
garethflowers/ftp-server
|
|
|
|
```
|
|
|
|
|
|
|
|
## License
|
|
|
|
|
2021-04-12 22:24:28 +00:00
|
|
|
- This image is released under the
|
|
|
|
[MIT License](https://raw.githubusercontent.com/garethflowers/docker-ftp-server/master/LICENSE).
|