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.

13 lines
445 B

  1. #!/bin/bash
  2. #
  3. echo "Starting dns server container.."
  4. docker run --name bind -d -it --restart=always \
  5. --publish=192.168.3.2:53:53/tcp --publish=192.168.3.2:53:53/udp --publish 10000:10000/tcp \
  6. -v /home/vagrant/bind_config/:/data/bind/etc/ \
  7. sameersbn/bind:9.16.1-20200524
  8. #-v /home/vagrant/copy_config/:/data/bind/etc/ \
  9. #--volume /srv/docker/bind:/data \
  10. #--volume /home/vagrant/named.conf.options:/data/bind/etc/named.conf.options \