docker-ftp-server/README.md
2021-04-12 23:29:31 +01:00

28 lines
618 B
Markdown

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