File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 101101#### 软路由版本(仅命令行)
102102- ** Linux x86_64** : ` ECHWorkers-linux-amd64-softrouter.tar.gz `
103103- ** Linux ARM64** : ` ECHWorkers-linux-arm64-softrouter.tar.gz `
104-
104+ #### Docker版本(仅测试x86)
105+ - ** DockerHub仓库** :https://hub.docker.com/r/cirnosalt/ech-workers-docker
105106#### 安装步骤
106107
1071081 . ** 解压文件**
@@ -475,7 +476,36 @@ chmod +x /etc/init.d/ech-workers.sh
475476``` bash
476477/etc/init.d/ech-workers.sh
477478```
479+ ### Docker部署
480+
481+ 参数说明:
482+
483+ ```
484+ --network host #网络类型一般推荐直接host
485+ -e ARG_F="" #填写你的workers域名和端口
486+ -e ARG_ECH="cloudflare-ech.com" #ech查询域名,一般保持默认
487+ -e ARG_TOKEN="" #你设置的token
488+ -e ARG_IP="visa.com" #优选IP或域名
489+ -e ARG_L="0.0.0.0:30000" #Socks5服务器的IP和端口,0.0.0.0为全局监听
490+ -e ARG_ROUTING="global" #分流模式,global=全局代理 bypass_cn=绕过大陆
491+ ```
478492
493+ docker运行命令模板,按照上面的说明填写,然后复制到终端运行:
494+
495+ ```
496+ docker run -d \
497+ --name cfech \
498+ --restart always \
499+ --network host \
500+ -e ARG_F="" \
501+ -e ARG_ECH="cloudflare-ech.com" \
502+ -e ARG_TOKEN="" \
503+ -e ARG_IP="visa.com" \
504+ -e ARG_L="0.0.0.0:30000" \
505+ -e ARG_ROUTING="global" \
506+ cirnosalt/ech-workers-docker:latest
507+ ```
508+
479509### 软路由配置建议
480510
481511#### 网络配置
You can’t perform that action at this time.
0 commit comments