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:
commit
0f6a2d17a1
1 changed files with 13 additions and 0 deletions
13
README.md
13
README.md
|
@ -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
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue