HUB
Sign inSign up
clash logo

siji/clash

By siji

•Updated about 1 month ago

Clash, a rule-based tunnel in Go.

Image
0

1.3K

siji/clash repository overview

Build based on ghcr.io/dreamacro/clash-premium:latest.

podman run -d --name clash --network host --device /dev/net/tun -v /etc/clash:/etc/clash --cap-add NET_ADMIN,MKNOD docker.io/siji/clash:latest

Podman container file:

# Location: /etc/containers/systemd/clash.container
[Unit]
Description=The Clash Service
After=local-fs.target network.target

[Container]
ContainerName=clash
Image=docker.io/siji/clash:latest
Network=host
Volume=/etc/clash:/etc/clash
AddCapability=NET_ADMIN MKNOD
AddDevice=/dev/net/tun
AutoUpdate=registry

[Install]
WantedBy=multi-user.target

Use the container file:

systemctl daemon-reload
systemctl start clash.service
Tag summary
Recent tags
Content type
Image
Digest
sha256:28c84c4dd…
Size
70.9 MB
Last updated
about 1 month ago
docker pull siji/clash:latest