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

Merge branch 'beechnut-master'

This commit is contained in:
Adrian Dvergsdal 2015-02-23 11:52:45 +01:00
commit 0f6a2d17a1

View file

@ -27,6 +27,19 @@ docker run \
foo:123:1001 foo:123:1001
``` ```
#### Logging in
The SFTP server runs in the container on port 22, and in this example, you are forwarding the container's port 22 to the host's port 2222.
To log into the STFP server, run
```
sftp -P 2222 foo@docker.host.tld
```
with docker.host.tld being the address (IP or domain name) of the machine running the Docker daemon.
### Multiple users and volumes ### Multiple users and volumes
``` ```