Skip to content

Latest commit

 

History

History
24 lines (21 loc) · 638 Bytes

Docker software ubuntu bind9.md

File metadata and controls

24 lines (21 loc) · 638 Bytes

Docker software ubuntu bind9

Links

Docker commands

docker pull ubuntu/bind9
docker run -d \
  --name bind9 \
  -e TZ=UTC \
  -p 30053:53 \
  -e BIND9_USER=bind \
  -v /path/to/bind/configuration:/etc/bind/named.conf \
  v /path/to/cached/data:/var/cache/bind \
  -v /path/to/resource/records:/var/lib/bind \
  ubuntu/bind9:latest
docker logs -f bind9				# to debug the container
docker exec -it bind9 /bin/bash		# to get an interactive shell