Public | Automated Build

Last pushed: a day ago
Short Description
Short description is empty for this repo.
Full Description

luzifer/sftp-share Dockerfile

This repository contains Dockerfile of sftp-share for Docker's automated build published to the public Docker Hub Registry.

Base Docker Image


  1. Install Docker.

  2. Download automated build from public Docker Hub Registry: docker pull luzifer/sftp-share


To launch it and have your share listen on port 2022, just type:

docker run -d -p 2022:22 -e USER=myuser -e PASS=myverysecretpassword luzifer/sftp-share
Docker Pull Command
Source Repository

Comments (4)
a year ago


Nice work !

I am using it with docker-compose. Do you have an easy way to Encrypt the user password in the file ?

Thank you

2 years ago

@azcto: You should be able to just put a .ssh directory into the directory mounted to /data/ with an authorized_keys file. Those keys should be able to log into the container.

2 years ago

How can we use SSH key without password to login?

3 years ago

This didn't work for me. The Ubuntu MOTD seems to interfered with the protocol; even after disabling (through logging into running container and disabling MOTD) it still didn't work. atmoz/sftp worked for me for others looking for a quick solution.