Build Clash as an Image, then run it anywhere.
2.2K
edit the config.sample.yaml with your proxies, and rename it to config.yaml
the run
docker compose up -d --build
in case of connection with https://cdn.jsdelivr.net you can comment in the args and replace with your proxy
# args:
# HTTP_PROXY: http://192.168.137.1:7890
# HTTPS_PROXY: http://192.168.137.1:7890
# NO_PROXY: localhost,127.0.0.1
docker build -t clash .
or if you are using a proxy to build your can pass the args with this way
docker build \
--build-arg HTTP_PROXY=http://192.168.137.1:7890 \
--build-arg HTTPS_PROXY=http://192.168.137.1:7890 \
--build-arg NO_PROXY=localhost,127.0.0.1 \
-t clash .
please check ./.github/workflows
Content type
Image
Digest
sha256:2adb317d7…
Size
113.6 MB
Last updated
5 months ago
docker pull wujun4code/clash