sameersbn / docker-bind

Dockerize BIND DNS server with webmin for DNS administration
MIT License
913 stars 333 forks source link

container issues: file mode in /data/bind/etc and db.root is very old #62

Closed sjmudd closed 5 years ago

sjmudd commented 5 years ago

Hi. Thans for taking the time to make man of the docker container issues you use available. I'm using a couple of these as I learn the container environment.

I notice with the bind setup a couple of issues:

sjmudd commented 5 years ago

I didn't really have time to look at this properly but a suggestion would be something like: https://gist.github.com/sjmudd/17dac1e6bec9d7c73a6083d4a5e91f1a.

Docker build of your current repo seemed to give me an error:

Reading state information...
E: Version '1.8*' for 'webmin' was not found
The command '/bin/sh -c rm -rf /etc/apt/apt.conf.d/docker-gzip-indexes  && apt-get update  && DEBIAN_FRONTEND=noninteractive apt-get install -y       bind9=1:${BIND_VERSION}* bind9-host=1:${BIND_VERSION}* dnsutils       webmin=${WEBMIN_VERSION}*  && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100

I don't have time now to follow up on this as still rather new with the container world. Hopefully the suggested patch or similar should fix one of the issues.

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.