Sign inSign up

jchonig/bind9

By jchonig

Updated 6 days ago

Run ISC nameserver (bind9) in a container

Image
0

2.8K

jchonig/bind9 repository overview

docker-bind9

A docker container to run ISC nameserver

Image hosted at: ghcr.io/jchonig/bind9

Usage

docker-compose

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:

Parameters

Environment Variables (-e)

EnvFunction
PUID=1000for UserID - Set to UID that will run bind9
PGID=1000for GroupID - Set to GID that will run bind9
TZ=UTCSpecify a timezone to use EG UTC

Volume Mappings (-v)

VolumeFunction
/configConfiguration (normally found in /etc/bind)
/var/runA named volume can be use to persist state in this dir

Application setup

  • Any file in /etc/bind that does not exist in /config is make a symlink to /etc/bind. This allows referencing of default configuration files w/o.
  • Any changes in the /config directory will cause a named to be reloaded.

Tag summary

Content type

Image

Digest

sha256:278a43f10

Size

65.3 MB

Last updated

6 days ago

docker pull jchonig/bind9