Bind / Named in a container
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Readme.md 615 B

5 years ago
5 years ago
12345678910111213141516171819
  1. docker-bind
  2. ===========
  3. **Container for running bind 9**
  4. Quick start
  5. -----------
  6. * Pull: `docker pull dpedu/bind`
  7. * Run: `docker run --name="nameserver "-p 53:53 -v /data/bindconfig:/etc/bind dpedu/bind`
  8. Getting the default config
  9. --------------------------
  10. The above example expect a directory with all the configuration bind needs. But you probably
  11. don't have that if you're starting out. So extract it from the image:
  12. * Run a copy that immediately exits: `docker run --name="tempbind" dpedu/bind bash`
  13. * Extract the files: `docker cp tempbind:/etc/bind/ /tmp/`
  14. * Delete temp container: `docker rm tempbind`