Skip to content

vsftpd server with virtual FTP user in Docker

Notifications You must be signed in to change notification settings

pjsteele/docker-vsftpd

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

vsftpd server with virtual FTP user in Docker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%