mirror of
https://github.com/luzifer-docker/sftp-share.git
synced 2024-11-09 11:40:02 +00:00
Run a SSH / SFTP server in a Docker container sharing only the folder mounted into the container
|
||
---|---|---|
Dockerfile | ||
README.md | ||
sshd_config | ||
start.sh |
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
-
Install Docker.
-
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