vincejv/unbound
Unbound docker image for amd64 and arm64
5.3K
A fork of https://github.com/MatthewVance/unbound-docker, with customized features
sample
folderremote-control
can be toggled on/off by mounting a custom config file on /opt/unbound/etc/unbound/unbound.conf.d
rrset
, msg-cache
and slabs
from MatthewVance's docker image/sys/fs/cgroup/memory.max
Dockerfile
linksUnbound is a validating, recursive, and caching DNS resolver.
Run this container with the following command:
docker run \
--name=my-unbound \
--detach=true \
--publish=53:53/tcp \
--publish=53:53/udp \
--restart=unless-stopped \
vincejv/unbound:latest
Grab the sample docker-compose.yml
file in sample
directory
version: '3'
services:
unbound:
container_name: unbound
image: vincejv/unbound:latest
network_mode: host
volumes:
- type: bind
read_only: true
source: ./conf
target: /opt/unbound/etc/unbound/unbound.conf.d
- type: bind
read_only: true
source: ./forward-records.conf
target: /opt/unbound/etc/unbound/forward-records.conf
- type: bind
read_only: true
source: ./local-zone.conf
target: /opt/unbound/etc/unbound/a-records.conf
restart: unless-stopped
docker pull vincejv/unbound