A docker container to run ISC nameserver
Image hosted at: ghcr.io/jchonig/bind9
Compatible with docker-compose v3 schemas.
---
version: "3"
services:
bind9:
image: ghcr.io/jchonig/bind9
container_name: bind9
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/London
volumes:
- PATHTO/config:/config
- run:/var/run
ports:
- 53:53
- 53:53/udp
restart: unless-stopped
volumes:
run:
| Env | Function |
|---|---|
| PUID=1000 | for UserID - Set to UID that will run bind9 |
| PGID=1000 | for GroupID - Set to GID that will run bind9 |
| TZ=UTC | Specify a timezone to use EG UTC |
| Volume | Function |
|---|---|
| /config | Configuration (normally found in /etc/bind) |
| /var/run | A named volume can be use to persist state in this dir |
Content type
Image
Digest
sha256:278a43f10…
Size
65.3 MB
Last updated
6 days ago
docker pull jchonig/bind9