This project provides a Docker image for FlClash.
You can pull the image from either Docker Hub or GitHub Container Registry:
docker pull libzonda/flclash-docker:latestdocker pull ghcr.io/libzonda/flclash-docker:latestYou can run the FlClash Docker container with compose:
services:
flclash-docker:
image: libzonda/flclash-docker:latest
container_name: flclash-docker
network_mode: host
volumes:
- /run/dbus/system_bus_socket:/run/dbus/system_bus_socket
- ./flclash:/config/xdg/data/com.follow.clash
- /you-flclash-data:/config/xdg/data/com.follow.clash
user: 0:0
privileged: true
cap_add:
- NET_ADMIN
devices:
- /dev/net/tun # 挂载 TUN 设备
environment:
- TZ=Asia/Shanghai
restart: unless-stoppedThis project is based on the following excellent open-source projects (in no particular order):
- @jlesage/docker-baseimage: A powerful and stable Docker base image that greatly simplifies container development.
- @chen08209/FlClash: The core application providing a feature-rich Clash Web UI.
Many thanks to the authors and maintainers for their dedication to open source!
For suggestions or issues, please feel free to open an issue.
