Skip to content
This repository has been archived by the owner on May 22, 2018. It is now read-only.

pygmalios/ftp-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Docker FTP Server

Supports passive mode. Based on Docker Pure-ftpd Server.

Features

  • Passive mode support with ports 30000-30009
  • Public IP/hostname in $FTP_PUBLIC_HOST
  • Can adjust connections limits via environmental variables
  • Configuration and storage as Docker volumes
  • Sample docker-compose.yml

How to add user

Uses virtual users (not real linux users).

  1. Open container terminal
  2. pure-pw useradd bob -u ftpuser -d /home/ftpusers/bob
  3. pure-pw mkdb

No restart should be needed. More info on usage here: https://download.pureftpd.org/pure-ftpd/doc/README.Virtual-Users

Connection test

  1. $ ftp -p localhost 21
  2. ftp> user bob
  3. ftp> ls

Restoration from backup

Container can be backed up and restored using dockup image. Stored files must have correct ownership ftpuser:ftpgroup, otherwise FTP write fails on permissions.

  1. get into the container docker exec -t [containerid] bash
  2. cd /home/ftpusers
  3. chown ftpuser:ftpgroup -R *

Issues

  • Does not support TLS (needs configuration)

About

DEPRECATED - FTP server with passive mode support

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published