Skip to content

dannyvargas23/docker-sftp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SFTP Server

Running

Just use this command to start the container.

docker run --name sftp -v <host>:/data/incoming -d -P mobilistics/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 mobilistics/sftp

Configuration

These options can be set: (hint: it is even possible to use '33' as gid/uid)

  • 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 74.3%
  • Dockerfile 25.7%