Docker CLI
docker run -d --restart unless-stopped -p 53:53/udp -v /path/to/bind/config:/etc/bind -e DOMAIN=example.com -e NAMESERVER=127.0.0.1 -e SUBDOMAIN=site -e SUBDOMAIN_IP=127.0.0.1 fleter/bind9
Docker Compose
services:
dns:
image: fleter/bind9
restart: unless-stopped
ports:
- 53:53/udp
volumes:
- /path/to/bind/config:/etc/bind
environment:
- DOMAIN=example.com
- NAMESERVER=127.0.0.1
- SUBDOMAIN=site
- SUBDOMAIN_IP=127.0.0.1
Content type
Image
Digest
sha256:437a0428b…
Size
116.2 MB
Last updated
11 months ago
docker pull fleter/bind9