Use -f (foreground) instead of -g (foreground + logging to stderr)
This commit is contained in:
+1
-1
@@ -32,4 +32,4 @@ VOLUME ["/etc/bind", "/var/cache/bind", "/var/lib/bind", "/var/log"]
|
||||
|
||||
EXPOSE 53/udp 53/tcp 953/tcp
|
||||
|
||||
CMD ["/usr/sbin/named", "-g", "-c", "/etc/bind/named.conf", "-u", "bind"]
|
||||
CMD ["/usr/sbin/named", "-f", "-c", "/etc/bind/named.conf", "-u", "bind"]
|
||||
|
||||
Reference in New Issue
Block a user