Bind9 Container Error

Juarez Souza Junior juasoujr at gmail.com
Fri Jan 8 19:13:41 UTC 2021


Hi All!

 I'm trying to run Bind9 container but the these errors are happening:

08-Jan-2021 19:08:54.217 running as: named -g -c /etc/bind/named.conf -u
bind
08-Jan-2021 19:08:54.217 compiled by GCC 9.3.0
08-Jan-2021 19:08:54.217 compiled with OpenSSL version: OpenSSL 1.1.1f  31
Mar 2020
08-Jan-2021 19:08:54.217 linked to OpenSSL version: OpenSSL 1.1.1f  31 Mar
2020
08-Jan-2021 19:08:54.217 compiled with libxml2 version: 2.9.10
08-Jan-2021 19:08:54.217 linked to libxml2 version: 20910
08-Jan-2021 19:08:54.217 compiled with json-c version: 0.13.1
08-Jan-2021 19:08:54.217 linked to json-c version: 0.13.1
08-Jan-2021 19:08:54.217 compiled with zlib version: 1.2.11
08-Jan-2021 19:08:54.217 linked to zlib version: 1.2.11
08-Jan-2021 19:08:54.217
----------------------------------------------------
08-Jan-2021 19:08:54.217 BIND 9 is maintained by Internet Systems
Consortium,
08-Jan-2021 19:08:54.217 Inc. (ISC), a non-profit 501(c)(3) public-benefit
08-Jan-2021 19:08:54.217 corporation.  Support and training for BIND 9 are
08-Jan-2021 19:08:54.217 available at https://www.isc.org/support
08-Jan-2021 19:08:54.217
----------------------------------------------------
08-Jan-2021 19:08:54.217 found 4 CPUs, using 4 worker threads
08-Jan-2021 19:08:54.217 using 4 UDP listeners per interface
08-Jan-2021 19:08:54.221 using up to 21000 sockets
08-Jan-2021 19:08:54.225 loading configuration from '/etc/bind/named.conf'
08-Jan-2021 19:08:54.225 directory '/var/cache/bind' is not writable
08-Jan-2021 19:08:54.225 /etc/bind/named.conf.options:7: parsing failed:
permission denied
08-Jan-2021 19:08:54.229 loading configuration: permission denied
08-Jan-2021 19:08:54.229 exiting (due to fatal error)
I've already checked the permissions and seems to be ok.

I'm using this line command to run:
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

Could someone give me some help?

-- 
Regards,

Juarez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20210108/cb00413b/attachment.htm>


More information about the bind-users mailing list