Bind / Named in a container
Go to file
dave b9b1a0f029 Add read 2015-09-12 15:56:12 -07:00
Dockerfile Design for running on top of existing config 2015-09-12 15:56:09 -07:00
Readme.md Add read 2015-09-12 15:56:12 -07:00
bind.conf Initial commit 2015-02-27 18:14:25 -08:00
regen-bind-key Design for running on top of existing config 2015-09-12 15:56:09 -07:00
start Remove base image dependency 2015-09-07 21:26:49 -07:00
supervisor.conf Remove base image dependency 2015-09-07 21:26:49 -07:00

Readme.md

docker-bind

Container for running bind 9

Quick start

  • Pull: docker pull dpedu/bind
  • Run: `docker run --name="nameserver "-p 53:53 -v /data/bindconfig:/etc/bind dpedu/bind

Getting the default config

The above example expect a directory with all the configuration bind needs. But you probably don't have that if you're starting out. So extract it from the image:

  • Run a copy that immediately exits: docker run --name="tempbind" dpedu/bind bash
  • Extract the files: docker cp tempbind:/etc/bind/ /tmp/
  • Delete temp container: docker rm tempbind