Skip to content

kevin2li/clash_docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clash使用教程

  1. 克隆仓库到本地
git clone [email protected]:kevin2li/clash_docker.git
  1. 进入仓库目录: cd clash_docker
  2. 替换clash_config.yaml为自己的代理配置文件
  3. 启动容器
docker build . -t kevin2li/clash
docker compose up -d
  1. 选择代理
# 测试延迟
docker exec -it clash ./clashcli -t
# 选择节点
docker exec -it clash ./clashcli
  1. 宿主机终端科学上网
export https_proxy="http://127.0.0.1:7890" && export http_proxy="http://127.0.0.1:7890"
  1. 测试
curl https://www.google.com

About

为cLash的制作的docker镜像

Resources

Stars

Watchers

Forks

Packages

No packages published