Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 887 Bytes

README.md

File metadata and controls

24 lines (15 loc) · 887 Bytes

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: "")