--------------docker-compose---------------
version: '3'
services:
socks5:
image: scpman/clash:v1
volumes:
- ./clash.config:/home/clash/clash.config
ports:
- "7890:7890"
- "7891:7891"
restart: always
network_mode: "bridge"
container_name: socks5
-----------------------clash.config-----
port: 7890
socks-port: 7891
allow-lan: true
mode: Rule
log-level: debug
external-controller: 127.0.0.1:9090
Proxy:
Rule:
docker pull scpman/clash:v1