Sign inSign up

wbh16/bind9

By wbh16

Updated over 5 years ago

imagem do debian-slim e o bind9

Image
0

10K+

wbh16/bind9 repository overview

Bind9

FROM debian:buster-slim

MAINTAINER Wemerson Bruno Henriques [email protected]

ENV DEBIAN_FRONTEND noninteractive

RUN apt-get update -y &&
apt-get upgrade -y &&
apt-get install -y --no-install-recommends
--no-install-suggests
bind9 &&
mkdir -p /var/run/named /etc/bind/zones &&
chmod 775 /var/run/named &&
chown root:bind /var/run/named > /dev/nul 2>&1 &&
apt-get clean &&
apt-get autoremove --purge -y &&
rm -rf /var/lib/apt/lists/*
/tmp/*
/var/tmp/*
/usr/share/man/??_*
/usr/share/man/??

#VOLUME ["/etc/bind", "/var/cache/bind", "/var/lib/bind", "/var/log", "/var/run/named"]

EXPOSE 53

#O "-4" na linha seguinte permite recursão somente para o ipv4 desligando ipv6

CMD ["/usr/sbin/named", "-g", "-c", "/etc/bind/named.conf", "-4", "-u", "bind"]

Tag summary

Content type

Image

Digest

Size

68.1 MB

Last updated

almost 6 years ago

docker pull wbh16/bind9