From fa445c7d89e5c5c4db395683ed22d31388adcf4d Mon Sep 17 00:00:00 2001 From: zhao xin Date: Fri, 27 Dec 2019 12:24:58 +0800 Subject: [PATCH] Update README.md --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 6834c3a..9f67411 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,17 @@ cmd: https://github.com/esrrhs/pingtunnel/releases QT GUI: https://github.com/esrrhs/pingtunnel-qt +# Docker +server: +``` +docker run --name pingtunnel-server -d --privileged --network host --restart=always esrrhs/pingtunnel ./pingtunnel -type server -key 123456 +``` +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 +``` + + # Stargazers over time [![Stargazers over time](https://starchart.cc/esrrhs/pingtunnel.svg)](https://starchart.cc/esrrhs/pingtunnel)