Use ENTRYPOINT instead of CMD
This commit is contained in:
@@ -123,4 +123,4 @@ VOLUME ["/etc/bind", "/var/cache/bind", "/var/lib/bind", "/var/log"]
|
||||
|
||||
EXPOSE 53/udp 53/tcp 953/tcp 853/tcp 443/tcp
|
||||
|
||||
CMD ["/usr/sbin/named", "-f", "-c", "/etc/bind/named.conf", "-u", "bind"]
|
||||
ENTRYPOINT ["/usr/sbin/named", "-f", "-c", "/etc/bind/named.conf", "-u", "bind"]
|
||||
|
||||
Reference in New Issue
Block a user