具有完整分流配置和 GeoSite 列表自动更新的 SmartDNS Docker 镜像
1.4K
⚠️ Move to ghcr.io/fordes123/smartdns
Building a SmartDNS Docker image with a full Shunt Configuration and automatic updates for GeoSite lists.
https://github.com/fordes123/docker-build
services:
smartdns:
image: fordes123/smartdns:latest
container_name: smartdns
volumes:
- /path/to/smartdns:/etc/smartdns
environment:
- UPDATE_INTERVAL=0 0 */7 * *
ports:
- 53:53/udp
- 53:53/tcp
restart: unless-stopped
docker run -d \
--name smartdns \
--restart unless-stopped \
--env UPDATE_INTERVAL='0 0 */7 * *' \
-v /path/to/smartdns:/etc/smartdns \
-p 53:53/udp \
-p 53:53/tcp \
fordes123/smartdns:latest
| Parameter | Function |
|---|---|
-p 53 | DNS port. |
-v /etc/smartdns | config path. |
-e UPDATE_INTERVAL=0 0 */7 * * | auto update geosite rule cron expression |
Content type
Image
Digest
sha256:f67840282…
Size
8.5 MB
Last updated
8 months ago
docker pull fordes123/smartdns