Update README.md

Signed-off-by: Teddysun <i@teddysun.com>
This commit is contained in:
Teddysun 2018-08-11 16:55:16 +09:00
parent eee9cca3e2
commit bc8d8c8e8f
No known key found for this signature in database
GPG Key ID: 09BD4C080AD6C46D

View File

@ -16,7 +16,7 @@ If you need to install docker by yourself, follow the [official installation gui
$ docker pull teddysun/shadowsocks-libev
```
or pull image based *alpine*
or pull image based **alpine**
```bash
$ 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
```
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.
[1]: https://github.com/shadowsocks/shadowsocks-libev