Minimalistic Alpine-based PowerDNS image with PostgreSQL backend
- Based on Alpine 3.7 with APK
pdnspackage version 4.1.0-r0 - PostgreSQL backend only
- Guardian process enabled with graceful shutdown
- Convenient configuration via mounting
/etc/pdns/conf.ddir,/etc/pdns/pdns.conffile or via command-line arguments - Default configuration is adopted to docker environment:
- API port is changed from 8081 to 80 and exposed
- Connections to the API webserver are allowed from local docker networks (but webserver itself is not enabled by default)
- Neither PostgreSQL server itself nor DB initialization are not included, this image is aimed to just run pdns server inside more complex setup using
docker-composeor something else
Basic:
docker run --name pdns \
--link postgres \
-p 53:53 -p 53:53/udp \
procraft/pdns-postgresWith docker-compose and companion db server container (see example docker-compose.yml):
docker-compose up -d