Skip to content

pauloklaus/ftp-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

FTP Server

Dockerfile to create a ftp server using vsftpd project.

Default login:

  • user: ftpuser
  • password: ftp123

Build

docker build -t ftp-server .

Run

docker run -d -p 21:21 -p 30000-30009:30000-30009 ftp-server

Configuration defaults

/etc/vsftp/vsftpd.conf

Override the default ftp config file

docker run -d -p 21:21 -p 30000-30009:30000-30009 -v my-vsftpd.conf:/etc/vsftp/vsftpd.conf ftp-server

Persist ftp files

docker run -d -p 21:21 -p 30000-30009:30000-30009 -v ./my-ftp-files:/var/ftp ftp-server

Set custom password

docker run -d -p 21:21 -p 30000-30009:30000-30009 -v ./my-ftp-files:/var/ftp -e FTP_PASSWORD="n3w-cu5tom-p@ss" ftp-server

About

FTP server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published