Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.
/ sftp-share Public archive

Run a SSH / SFTP server in a Docker container sharing only the folder mounted into the container

License

Notifications You must be signed in to change notification settings

luzifer-docker/sftp-share

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

luzifer-docker / sftp-server

Run a SSH / SFTP server in a Docker container sharing only the folder mounted into the container

Usage

## Build container (optional)
$ docker build -t luzifer/sftp-server .

## Execute curator
$ docker run --rm -ti -v $(pwd):/data -e USER=myuser -e PASS=secretpass luzifer/sftp-server

Notes

  • Default user / password is share / changeme
  • User has UID 1000, so 1000 should be able to read / write files
  • To persist the SSH host keys mount /ssh to a persistent storage

About

Run a SSH / SFTP server in a Docker container sharing only the folder mounted into the container

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages