Sign inSign up

wujun4code/clash

By wujun4code

Updated 5 months ago

Build Clash as an Image, then run it anywhere.

Image
Networking
Developer tools
Web servers
0

2.2K

wujun4code/clash repository overview

Build Clash as an Image, then run it anywhere.

Docker Pulls GitHub Issues License

Quick start

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

Customize build

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 .

Build with Github Action

please check ./.github/workflows

Tag summary

Content type

Image

Digest

sha256:2adb317d7

Size

113.6 MB

Last updated

5 months ago

docker pull wujun4code/clash