Update README.md

This commit is contained in:
Oleg Lebedev 2018-04-16 07:39:58 +05:00 committed by GitHub
parent 38c14c1d8e
commit 99676cd343
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,7 @@ Simple socks5 server using go-socks5 with or without auth.
# Start container with proxy # Start container with proxy
```docker run -d --name socks5 -p 1080:1080 -e PROXY_USER=<PROXY_USER> -e PROXY_PASSWORD=<PROXY_PASSWORD> olebedev/socks5``` ```docker run -d --name socks5 -p 1080:1080 -e PROXY_USER=<PROXY_USER> -e PROXY_PASSWORD=<PROXY_PASSWORD> olebedev/socks5```
For auth-less mode do pass `PROXY_USER` and `PROXY_PASSWORD`. For auth-less mode just do not pass `PROXY_USER` and `PROXY_PASSWORD`.
# Test running service # Test running service
```curl --socks5 <docker machine ip>:1080 https://ya.ru``` - result must show docker host ip (for bridged network) ```curl --socks5 <docker machine ip>:1080 https://ya.ru``` - result must show docker host ip (for bridged network)