Rework to use podman and podman-systemd; improve setup.sh
This commit is contained in:
14
named.container
Normal file
14
named.container
Normal 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
|
||||
Reference in New Issue
Block a user