Switch to network_mode host
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ services:
|
||||
hostname: dns-server1
|
||||
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
|
||||
# network_mode: "host"
|
||||
network_mode: "host"
|
||||
ports:
|
||||
- "5380:5380/tcp" #DNS web console (HTTP)
|
||||
# - "53443:53443/tcp" #DNS web console (HTTPS)
|
||||
|
||||
Reference in New Issue
Block a user