version: "2.1" services: named: container_name: named image: named restart: unless-stopped ports: - "192.168.1.3:53:53/tcp" - "127.0.0.1:53:53/tcp" - "192.168.1.3:53:53/udp" - "127.0.0.1:53:53/udp" volumes: - etc_bind:/etc/bind:z - var_bind:/var/cache/bind:z volumes: etc_bind: var_bind: