Run a SSH / SFTP server in a Docker container sharing only the folder mounted into the container
Go to file
Knut Ahlers 78dbd3690c
Beautify startup
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-02-08 15:03:18 +01:00
Dockerfile Beautify startup 2018-02-08 15:03:18 +01:00
README.md Added README 2014-12-28 15:06:25 +01:00
sshd_config Update sshd_config with current alpine version 2018-02-08 15:02:56 +01:00
start.sh Beautify startup 2018-02-08 15:03:18 +01:00

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

Installation

  1. Install Docker.

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

Usage

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