we cannot successfully pull from docker.io without DNS

This commit is contained in:
David Blacka 2023-02-26 14:32:21 -05:00
parent 3cb1ab4dc8
commit 2788c11bed

View File

@ -8,7 +8,8 @@ TimeoutStartSec=0
Restart=always
ExecStartPre=-/usr/bin/docker stop bind9
ExecStartPre=-/usr/bin/docker rm bind9
ExecStartPre=/usr/bin/docker pull docker.io/internetsystemsconsortium/bind9:9.18
# note: this container is actually provding DNS service, so when that is missing, the pull fails.
# ExecStartPre=/usr/bin/docker pull docker.io/internetsystemsconsortium/bind9:9.18
ExecStart=/etc/bind/run_bind_container.sh
[Install]