<div dir="ltr"><div>Hi All!</div><div><br></div><div> I'm trying to run Bind9 container but the these errors are happening:</div><br clear="all"><div>08-Jan-2021 19:08:54.217 running as: named -g -c /etc/bind/named.conf -u bind<br>08-Jan-2021 19:08:54.217 compiled by GCC 9.3.0<br>08-Jan-2021 19:08:54.217 compiled with OpenSSL version: OpenSSL 1.1.1f  31 Mar 2020<br>08-Jan-2021 19:08:54.217 linked to OpenSSL version: OpenSSL 1.1.1f  31 Mar 2020<br>08-Jan-2021 19:08:54.217 compiled with libxml2 version: 2.9.10<br>08-Jan-2021 19:08:54.217 linked to libxml2 version: 20910<br>08-Jan-2021 19:08:54.217 compiled with json-c version: 0.13.1<br>08-Jan-2021 19:08:54.217 linked to json-c version: 0.13.1<br>08-Jan-2021 19:08:54.217 compiled with zlib version: 1.2.11<br>08-Jan-2021 19:08:54.217 linked to zlib version: 1.2.11<br>08-Jan-2021 19:08:54.217 ----------------------------------------------------<br>08-Jan-2021 19:08:54.217 BIND 9 is maintained by Internet Systems Consortium,<br>08-Jan-2021 19:08:54.217 Inc. (ISC), a non-profit 501(c)(3) public-benefit <br>08-Jan-2021 19:08:54.217 corporation.  Support and training for BIND 9 are <br>08-Jan-2021 19:08:54.217 available at <a href="https://www.isc.org/support">https://www.isc.org/support</a><br>08-Jan-2021 19:08:54.217 ----------------------------------------------------<br>08-Jan-2021 19:08:54.217 found 4 CPUs, using 4 worker threads<br>08-Jan-2021 19:08:54.217 using 4 UDP listeners per interface<br>08-Jan-2021 19:08:54.221 using up to 21000 sockets<br>08-Jan-2021 19:08:54.225 loading configuration from '/etc/bind/named.conf'<br>08-Jan-2021 19:08:54.225 directory '/var/cache/bind' is not writable<br>08-Jan-2021 19:08:54.225 /etc/bind/named.conf.options:7: parsing failed: permission denied<br>08-Jan-2021 19:08:54.229 loading configuration: permission denied<br>08-Jan-2021 19:08:54.229 exiting (due to fatal error)<br></div><div>I've already checked the permissions and seems to be ok.</div><div><br></div><div>I'm using this line command to run:</div><div>docker run --name=bind_test --restart=always --publish 192.168.56.1:53:53/udp --publish 192.168.56.1:53:53/tcp --publish 127.0.0.1:953:953/tcp -v /var/lib/bind9-data/etc/bind:/etc/bind -v /var/lib/bind9-data/var/cache/bind:/var/cache/bind:Z -v /var/lib/bind9-data/var/lib/bind:/var/lib/bind:Z -v /var/lib/bind9-data/var/log:/var/log:Z internetsystemsconsortium/bind9:9.16<br></div><div><br></div><div>Could someone give me some help?</div><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Regards,<br><br>Juarez</div></div>