services: knot: image: cznic/knot:3.4 volumes: - ./zones:/storage/zones:ro - ./config:/config:ro command: knotd --verbose network_mode: host named: image: internetsystemsconsortium/bind9:9.20 volumes: - ./zones:/var/lib/bind:ro - ./config:/etc/bind:ro #command: named -g network_mode: host