https://github.com/rhrn/docker-vsftpd
FTPS server via docker
https://github.com/rhrn/docker-vsftpd
alpine docker ftps vsftpd
Last synced: about 1 month ago
JSON representation
FTPS server via docker
- Host: GitHub
- URL: https://github.com/rhrn/docker-vsftpd
- Owner: rhrn
- Created: 2019-05-21T10:56:26.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2021-02-16T17:33:10.000Z (over 5 years ago)
- Last Synced: 2025-02-16T14:01:54.782Z (over 1 year ago)
- Topics: alpine, docker, ftps, vsftpd
- Language: Shell
- Homepage: https://hub.docker.com/r/rhrn/vsftpd
- Size: 1000 Bytes
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# rhrn/vsftpd
### Examples
* test server via command line
```
docker run --rm -e PASSWORD=FSBhuNOR -p 21000:21 -p 20000:20000 rhrn/vsftpd:latest
```
* push file
```
touch test.txt
lftp ftp://files:FSBhuNOR@localhost:21000 -e "set ssl:verify-certificate false; put test.txt; ls; exit"
```
* docker-compose.yaml
```
version: '3.6'
volumes:
files:
services:
ftp:
image: rhrn/vsftpd
environment:
- PASSWORD=FSBhuNOR
ports:
- '21000:21'
- '20000:20000'
volumes:
#- /path/to/cert.pem:/etc/vsftpd/vsftpd.pem
- files:/home/files
```
* genereate custom cert
```
openssl req -x509 -nodes -days 3650 -newkey rsa:2048 -keyout custom_vsftpd.pem -out custom_vsftpd.pem -subj "/C=RU/O=vsftpd/CN=example.org
```
### References
- https://github.com/delfer/docker-alpine-ftp-server
- https://github.com/JetBrains/phpstorm-docker-images/tree/master/ftps
- https://github.com/loicmathieu/docker-vsftpd