|
5 years ago | |
---|---|---|
Dockerfile | 5 years ago | |
Readme.md | 4 years ago | |
bind.conf | 6 years ago | |
regen-bind-key | 5 years ago | |
start | 5 years ago | |
supervisor.conf | 5 years ago |
Container for running bind 9
docker pull dpedu/bind
docker run --name="nameserver "-p 53:53 -v /data/bindconfig:/etc/bind dpedu/bind
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:
docker run --name="tempbind" dpedu/bind bash
docker cp tempbind:/etc/bind/ /tmp/
docker rm tempbind