Portal:Container/Image/bind

Jump to: navigation, search

openSUSE Bind Container Image

Description

This container image contains the latest bind server from openSUSE Tumbleweed.

Location

  • registry.opensuse.org/opensuse/bind

Configuration

This container image requires a local data directory, by default /srv/bind. During the first start, if no configuration is provided, the container will create a default configuration:

  • /srv/bind/etc contains named configuration files and rndc.key
  • /srv/bind/lib contains the files which normally can be find below /var/lib/named

Run

 # podman run -d --rm -v /srv/bind:/data --name bind -p 53:53/tcp -p 53:53/udp registry.opensuse.org/opensuse/bind

Reload Configuration

 # podman exec bind rndc reload

Systemd support

The package containers-systemd contains a service file and sysconfig file to configure and automatically start the bind container with systemd.

 # systemctl start container-bind