Hi Dan, I'm using podman instead of docker as it allows me to run the containers unprivileged, but this works now:
podman run -it docker.io/internetsystemsconsortium/bind9:9.18 -g -c /etc/bind/named.conf and the container (named in the container) prints all the logs to the stderr. But I think you are right. The default logging goes to the syslog and there's no syslog in the container. I'm thinking about appending -L /var/log/bind/default.log to the CMD part of the docker (so it can be easily overridden). Ondrej -- Ondřej Surý (He/Him) ond...@isc.org My working hours and your working hours may be different. Please do not feel obligated to reply outside your normal working hours. > On 27. 8. 2024, at 18:10, Dan Parrish via bind-users > <bind-users@lists.isc.org> wrote: > > This morning, I had several internetsystemsconsortium/bind9:9.18 containers > update and none of them would launch properly, they just kept restarting. > The containers do no logging at all, and I couldn't determine any root cause. > I tried disabling mount points, adjusting permissions, etc. Nothing would > bring the containers up. Even running the simplest: > docker run \ --name=bind9 \ --restart=always \ --publish 53:53/udp \ > --publish 53:53/tcp \ --publish 127.0.0.1:953:953/tcp \ > internetsystemsconsortium/bind9:9.18 > would not produce a working container. I also tried > internetsystemsconsortium/bind9:9.20 and > internetsystemsconsortium/bind9:9.21, and these containers just kept > restarting as well. > I ultimately replaced the image pull with ubuntu/bind9:latest and things are > working for me again. > I'm typically running Docker version 25.0.3. > I feel like if I had basic logging, I could provide more information, > possibly even resolved the issue and reported the fix. Can we get logging to > work? > --dan > -- > Visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from > this list > > ISC funds the development of this software with paid support subscriptions. > Contact us at https://www.isc.org/contact/ for more information. > > > bind-users mailing list > bind-users@lists.isc.org > https://lists.isc.org/mailman/listinfo/bind-users -- Visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information. bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users