Rework to use podman and podman-systemd; improve setup.sh

This commit is contained in:
2024-09-17 22:22:27 -04:00
parent 5566774c55
commit 1ec46f1565
5 changed files with 63 additions and 43 deletions

14
named.container Normal file
View File

@@ -0,0 +1,14 @@
[Container]
Image=docker.io/internetsystemsconsortium/bind9:9.18
ContainerName=bind9
Network=host
Volume=/etc/bind/cfg:/etc/bind
Volume=/etc/bind/cache:/var/cache/bind
Volume=/etc/bind/zones:/var/lib/bind
Volume=/etc/bind/log:/var/log
# note that the default command is '-f -c /etc/bind/named.conf -L /var/log/bind/default.log'
# this is close, but not quite what we want
Exec=-f -c /etc/bind/named.conf
[Install]
WantedBy=default.target