Update README.md

This commit is contained in:
zhao xin 2021-04-01 11:49:07 +08:00 committed by GitHub
parent 41ccdf6d7f
commit cd21d586ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -69,16 +69,13 @@ pingtunnel.exe -type client -l :4455 -s www.yourserver.com -t www.yourserver.com
pingtunnel.exe -type client -l :4455 -s www.yourserver.com -t www.yourserver.com:4455
```
### Docker
server:
### Docker(高玩推荐)
也可直接用docker启动更方便。参数同上
- server:
```
docker run --name pingtunnel-server -d --privileged --network host --restart=always esrrhs/pingtunnel ./pingtunnel -type server -key 123456
```
client:
- client:
```
docker run --name pingtunnel-client -d --restart=always -p 1080:1080 esrrhs/pingtunnel ./pingtunnel -type client -l :1080 -s www.yourserver.com -sock5 1 -key 123456
```