Update README.md
Signed-off-by: Teddysun <i@teddysun.com>
This commit is contained in:
parent
eee9cca3e2
commit
bc8d8c8e8f
|
|
@ -16,7 +16,7 @@ If you need to install docker by yourself, follow the [official installation gui
|
||||||
$ docker pull teddysun/shadowsocks-libev
|
$ docker pull teddysun/shadowsocks-libev
|
||||||
```
|
```
|
||||||
|
|
||||||
or pull image based *alpine*
|
or pull image based **alpine**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ docker pull teddysun/shadowsocks-libev:alpine
|
$ docker pull teddysun/shadowsocks-libev:alpine
|
||||||
|
|
@ -68,6 +68,12 @@ There is an example to start a container that listens on `9000` (both TCP and UD
|
||||||
$ docker run -d -p 9000:9000 -p 9000:9000/udp --name ss-libev -v /etc/shadowsocks-libev:/etc/shadowsocks-libev teddysun/shadowsocks-libev
|
$ docker run -d -p 9000:9000 -p 9000:9000/udp --name ss-libev -v /etc/shadowsocks-libev:/etc/shadowsocks-libev teddysun/shadowsocks-libev
|
||||||
```
|
```
|
||||||
|
|
||||||
|
There is an example to start a container based **alpine** that listens on `9000` (both TCP and UDP):
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ docker run -d -p 9000:9000 -p 9000:9000/udp --name ss-libev -v /etc/shadowsocks-libev:/etc/shadowsocks-libev teddysun/shadowsocks-libev:alpine
|
||||||
|
```
|
||||||
|
|
||||||
**Note**: The port number must be same as configuration.
|
**Note**: The port number must be same as configuration.
|
||||||
|
|
||||||
[1]: https://github.com/shadowsocks/shadowsocks-libev
|
[1]: https://github.com/shadowsocks/shadowsocks-libev
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user