Use -f (foreground) instead of -g (foreground + logging to stderr)

This commit is contained in:
Ondřej Surý
2023-04-11 09:04:27 +02:00
parent 6f499eabf3
commit bf0c30bf97
+1 -1
View File
@@ -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"]