A simple FTP server, using `vsftpd`.
1.2K
A simple FTP server, using
vsftpd.
(This is a fork of https://github.com/garethflowers/docker-ftp-server with a few patches incorporated - I've tried to swap my handle in the bare minimum places necessary for clear independent builds and pushes to Dockerhub until those patches can be upstreamed)
To start a container, with data stored in /data on the host, use the
following:
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 \
campadrenalin/ftp-server
docker composeservices:
ftp-server:
container_name: my-ftp-server
environment:
- FTP_PASS=123
- FTP_USER=user
image: campadrenalin/ftp-server
ports:
- '20-21:20-21/tcp'
- '40000-40009:40000-40009/tcp'
volumes:
- '/data:/home/user'
Content type
Image
Digest
sha256:05f69b9be…
Size
3.5 MB
Last updated
over 2 years ago
docker pull campadrenalin/ftp-server