Sign inSign up

bariller/sftp-share

By bariller

Updated almost 8 years ago

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

Image
0

304

bariller/sftp-share repository overview

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

Tag summary

Content type

Image

Digest

Size

5.9 MB

Last updated

almost 8 years ago

docker pull bariller/sftp-share