Skip to content

pierreroman/docker-sftp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SFTP Server

credits: this is built upon the work of Patrick Oberdorf https://github.com/obi12341

Running

Just use this command to start the container.

docker run --name sftp -v <host>:/data/incoming -d -P pierreroman/sftp

Persistent Pubkeys

If you want to store the keys (so your fingerprint doesn't change) persistent, you can run it like that:

docker run --name sftp -v <host>:/data/incoming -v <host>:/ssh -d -P pierreroman/sftp

Configuration

These can be set as environment variables that the start.sh will pick up to setup the container OS, User configuration:

  • USER: Sets the username. (Default: "sftp", Possible Values: "")
  • PASS: Sets the password of the User (Default: "c83eDteUDT", Possible Values: "")
  • GROUP_ID: Sets GID of the user (Default: "1000", Possible Values: "")
  • USER_ID: Sets UID of the user (Default: "1000", Possible Values: "")
  • PUBKEY: Sets PUBKEY of the user (Possible Values: "")

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%