HUB
Sign inSign up

cheewai/docker-vsftpd

By cheewai

•Updated over 8 years ago

vsftpd server with virtual FTP user in Docker

Image
0

566

cheewai/docker-vsftpd repository overview

⁠vsftpd server with virtual FTP user in Docker

This repo build a Docker image of vsftpd server that allows virtual FTP user login.

The repo contains a vsftpd.conf that can work with the sample docker-compose.yml file below.

version: '2'
services:
  vsftpd:
    image: cheewai/docker-vsftpd
    environment:
      - RUNUSER_UID=1000
    volumes:
      - ./passwd:/etc/vsftpd/passwd
      - ./docker-vsftpd/vsftpd.conf:/etc/vsftpd.conf
      - ./data:/srv/ftp/runuser
    ports:
      - "21:21"
      - "21100-21110:21100-21110"
    restart: on-failure:5

⁠Usage

  • Customize vsftpd.conf and docker-compose.yml as per your requirements

  • Create passwd containing the virtual FTP user(s) login name and encrypted password

  • Run the docker image using docker-compose or docker

Tag summary
Recent tags
Content type
Image
Digest
Size
52.7 MB
Last updated
over 8 years ago
docker pull cheewai/docker-vsftpd:latest