如何在ubuntu上使用Clash与docker开启代理拉起
- 电脑硬件
- 2025-08-24 15:57:02

如何在 ubuntu 上使用 Clash github /doreamon-design/clash/releases 上面是clash 的地址 clash_2.0.24_linux_386.tar.gz 下载 386 的 如果你的电脑是inter tar -xzvf clash_2.0.24_linux_386.tar.gz 启动 ./clash 然后会在电脑上生成一个config的文件 /home/xxx/.config/clash 在之后 在win电脑上 找到 Country.mmdb 和 config.yaml 进行替换 clash.razord.top/#/proxies 进入这个网址是修改的 docker 使用代理 sudo mkdir -p /etc/systemd/system/docker.service.d sudo vim /etc/systemd/system/docker.service.d/http-proxy.conf 将下面的进行替换或者添加 [Service] Environment="HTTP_PROXY=http://127.0.0.1:7890" Environment="HTTPS_PROXY=http://127.0.0.1:7890" Environment="NO_PROXY=localhost,127.0.0.1" sudo systemctl daemon-reload sudo systemctl restart docker
如何在ubuntu上使用Clash与docker开启代理拉起由讯客互联电脑硬件栏目发布,感谢您对讯客互联的认可,以及对我们原创作品以及文章的青睐,非常欢迎各位朋友分享到个人网站或者朋友圈,但转载请说明文章出处“如何在ubuntu上使用Clash与docker开启代理拉起”