Run a SSH / SFTP server in a Docker container sharing only the folder mounted into the container
Find a file
Knut Ahlers f5142c82d6 Merge pull request #1 from ambroisemaupate/master
Custom UID and restartable container
2015-07-04 00:09:35 +02:00
Dockerfile Custom UID and made container restartable 2015-06-02 20:55:37 +02:00
README.md Added README 2014-12-28 15:06:25 +01:00
sshd_config Initial version 2014-11-16 16:42:55 +01:00
start.sh Custom UID and made container restartable 2015-06-02 20:55:37 +02: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