mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-02-03 13:21:49 +02:00
update
This commit is contained in:
parent
c975b5caaf
commit
4d648ff4d8
@ -4,7 +4,7 @@ efficiency and ease of use. It provides simple answers to common needs, plus
|
||||
unique useful features for personal users as well as hosting providers.
|
||||
|
||||
|
||||
## docker-compose.yml
|
||||
## ~/fig/pureftpd/docker-compose.yml
|
||||
|
||||
```
|
||||
pureftpd:
|
||||
@ -17,3 +17,32 @@ pureftpd:
|
||||
privileged: true
|
||||
restart: always
|
||||
```
|
||||
|
||||
## server
|
||||
|
||||
```
|
||||
$ cd ~/fig/pureftpd/
|
||||
$ fig up -d
|
||||
$ fig ps
|
||||
$ docker exec -it pureftpd_pureftpd_1 bash
|
||||
>>> pure-pw useradd kev -u ftpuser -d /home/ftpuser/kev -m
|
||||
>>> pure-pw list
|
||||
>>> pure-pw show kev
|
||||
>>> pure-pw passwd kev -m
|
||||
>>> pure-pw userdel kev -m
|
||||
```
|
||||
|
||||
## client
|
||||
|
||||
```
|
||||
$ ftp remote-server
|
||||
Name: kev
|
||||
Password: ******
|
||||
ftp> !ls
|
||||
ftp> put file.txt
|
||||
ftp> !rm file.txt
|
||||
ftp> get file.txt
|
||||
ftp> del file.txt
|
||||
ftp> ls
|
||||
ftp> bye
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user