From b9b1a0f02902f723730a3320a7934887d5144422 Mon Sep 17 00:00:00 2001 From: dave Date: Sat, 12 Sep 2015 15:56:12 -0700 Subject: [PATCH] Add read --- Readme.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Readme.md diff --git a/Readme.md b/Readme.md new file mode 100644 index 0000000..111f647 --- /dev/null +++ b/Readme.md @@ -0,0 +1,19 @@ +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`