# version to run on secondary server, possibly virtual services: bind9: container_name: bind9 image: ubuntu/bind9:latest environment: - BIND9_USER=root - TZ=Europe/London ports: - "53:53/tcp" - "53:53/udp" volumes: - config:/etc/bind - cache:/var/cache/bind - records:/var/lib/bind restart: unless-stopped volumes: cache: records: config: driver_opts: type: cifs o: "username=john,password=mary1948" device: "//192.168.1.7/BIND9/config" # share on VALHALLA