Switch to network_mode host

This commit is contained in:
2026-07-11 11:34:08 +02:00
parent 2511dba7de
commit 046b579044
+1 -1
View File
@@ -4,7 +4,7 @@ services:
hostname: dns-server1 hostname: dns-server1
image: docker.io/technitium/dns-server:latest image: docker.io/technitium/dns-server:latest
# For DHCP deployments, use "host" network mode and remove all the port mappings, including the ports array by commenting them # For DHCP deployments, use "host" network mode and remove all the port mappings, including the ports array by commenting them
# network_mode: "host" network_mode: "host"
ports: ports:
- "5380:5380/tcp" #DNS web console (HTTP) - "5380:5380/tcp" #DNS web console (HTTP)
# - "53443:53443/tcp" #DNS web console (HTTPS) # - "53443:53443/tcp" #DNS web console (HTTPS)