A simple FTP server, using vsftpd.
Find a file
dependabot[bot] 141e06e2cd
chore(deps): bump docker/build-push-action from 4 to 5 (#58)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 4 to 5.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v4...v5)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-16 16:15:51 +01:00
.github chore(deps): bump docker/build-push-action from 4 to 5 (#58) 2023-09-16 16:15:51 +01:00
src fix(conf): prevent connections on port 20 (#32) 2022-10-20 10:49:28 +01:00
.editorconfig chore(conf): adds .editorconfig 2022-03-19 23:26:51 +00:00
_config.yml chore: update gh-pages config 2023-04-29 01:55:59 +01:00
Dockerfile chore(deps): bump alpine from 3.18.2 to 3.18.3 (#54) 2023-08-08 22:35:23 +01:00
LICENSE feat(): initial version 2020-07-10 17:27:43 +01:00
README.md docs(readme): adds docker compose example 2022-01-22 23:03:13 +00:00
test.sh test(): exit tests if anything fails 2022-01-22 22:34:46 +00:00

FTP Server

A simple FTP server, using vsftpd.

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:

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

... via docker compose

services:
  ftp-server:
    container_name: my-ftp-server
    environment:
      - FTP_PASS=123
      - FTP_USER=user
    image: garethflowers/ftp-server
    ports:
      - '20-21:20-21/tcp'
      - '40000-40009:40000-40009/tcp'
    volumes:
      - '/data:/home/user'

License