0
0
Fork 0
mirror of https://github.com/atmoz/sftp.git synced 2024-11-24 12:59:24 -05:00

Add example using Docker Compose

This commit is contained in:
Adrian Dvergsdal 2015-11-23 15:11:48 +01:00
parent be889cbea5
commit ba5f021612

View file

@ -27,6 +27,18 @@ docker run \
foo:123:1001
```
#### Using Docker Compose:
```
sftp:
image: atmoz/sftp
volumes:
- /host/share:/home/foo/share
ports:
- "2222:22"
command: foo:123:1001
```
#### Logging in
The OpenSSH server runs by default on port 22, and in this example, we are