# docker-compose up -d
version: '3.5'
services:
bind9:
restart: always
image: internetsystemsconsortium/bind9:9.16
#ports:
#- "53:53/udp"
#- "53:53/tcp"
command: bash -c "/usr/sbin/named -g -d 1 -c /etc/bind/named.conf -u bind"
volumes:
- ./etc_bind:/etc/bind