Skip to content

Commit 0545599

Browse files
authored
Update README.md
1 parent c9446c9 commit 0545599

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

README.md

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# Shadowsocks-libev Dockerfile
22
This Dockerfile build an image for [shadowsocks-libev](https://github.com/shadowsocks/shadowsocks-libev/) with [v2ray-plugin](https://github.com/teddysun/v2ray-plugin), based on Alpine Linux.
33

4-
Current version:
5-
- shadowsocks-libev: v3.3.5
6-
- v2ray-plugin: v4.44.0
4+
Tags:
5+
- latest: shadowsocks-libev: v3.3.5 and v2ray-plugin: v4.44.0
6+
- nightly: shadowsocks-libev: master branch and v2ray-plugin: master branch
77

88

99
## Quick Start
@@ -66,7 +66,16 @@ acrisliu/shadowsocks-libev
6666
```
6767

6868

69-
Enable v2ray-plugin with QUIC mode:
69+
**Enable v2ray-plugin with QUIC mode:**
70+
Currently(with v2ray-plugin's version < v5), you should use `nightly` tag for QUIC mode, see https://github.com/Acris/docker-shadowsocks-libev/issues/28 for more details.
71+
72+
It is recommended to increase the maximum buffer size by running:
73+
```
74+
sysctl -w net.core.rmem_max=2500000
75+
```
76+
77+
This command would increase the maximum receive buffer size to roughly 2.5 MB.
78+
7079
```sh
7180
docker run -d \
7281
-e "ARGS=--plugin v2ray-plugin --plugin-opts server;mode=quic;host=yourdomain.com;path=/v2ray;cert=/root/.acme.sh/yourdomain.com/fullchain.cer;key=/root/.acme.sh/yourdomain.com/yourdomain.com.key" \
@@ -77,7 +86,7 @@ docker run -d \
7786
-p 8388:8388/tcp \
7887
-p 8388:8388/udp \
7988
--restart=always \
80-
acrisliu/shadowsocks-libev
89+
acrisliu/shadowsocks-libev:nightly
8190
```
8291

8392
*Attentions: if you want to enable v2ray-plugin QUIC mode, you must disable the UDP relay of ss-server, without `-u` argument in `ARGS`.*
@@ -94,7 +103,7 @@ version: "3.7"
94103
services:
95104
shadowsocks-libev:
96105
container_name: shadowsocks-libev
97-
image: acrisliu/shadowsocks-libev:latest
106+
image: acrisliu/shadowsocks-libev
98107
user: root
99108
ports:
100109
- "8388:8388/tcp"

0 commit comments

Comments
 (0)