Combine ENTRYPOINT and CMD, so the config file and -f can be easily overriden
This commit is contained in:
+2
-1
@@ -120,4 +120,5 @@ VOLUME ["/etc/bind", "/var/cache/bind", "/var/lib/bind", "/var/log"]
|
||||
|
||||
EXPOSE 53/udp 53/tcp 953/tcp 853/tcp 443/tcp
|
||||
|
||||
ENTRYPOINT ["/usr/sbin/named", "-f", "-c", "/etc/bind/named.conf", "-u", "bind"]
|
||||
ENTRYPOINT ["/usr/sbin/named", "-u", "bind"]
|
||||
CMD ["-f", "-c", "/etc/bind/named.conf"]
|
||||
|
||||
Reference in New Issue
Block a user