Public | Automated Build

Last pushed: a year ago
Short Description
Skydns image baed on alpine that build and install skydns.
Full Description

alpine-skydns

This image is the skydns base. It comes from [alpine-base][alpine-base].

Build

docker build -t rawmind/alpine-skydns:<version> .

Versions

Configuration

This image runs skydns with monit. skydns is started with user and group "skydns".

Besides, you can customize the configuration in several ways:

Default Configuration

Etcd is installed with the default configuration and some parameters can be overrided with env variables:

  • ETCD_MACHINES=${ETCD_MACHINES:-"http://etcd:2379"} # Multiple values separated by ,
  • SKYDNS_ADDR=${SKYDNS_ADDR:-"0.0.0.0:53"} # Address to bind
  • SKYDNS_DOMAIN=${SKYDNS_DOMAIN:-"dev.local"} # Skydns authorizative domain
  • SKYDNS_PATH_PREFIX=${SKYDNS_PATH_PREFIX:-"skydns"} # skydns etcd prefix
  • SKYDNS_NDOTS=${SKYDNS_NDOTS:-"1"} # Minimum dot at name to forward query
  • SKYDNS_NO_REC=${SKYDNS_NO_REC:-"true"} # Enables or disables recursion
  • SKYDNS_NAMESERVERS=${SKYDNS_NAMESERVERS:-""} # Dns forwarders

Custom Configuration

Etcd is installed under /opt/skydns and make use of /opt/skydns/bin/skydns-source.sh to source env variables.

You can edit this files in order customize configuration

You could also include FROM rawmind/alpine-skydns at the top of your Dockerfile, and add your custom config.

If you are running it in rancher, you could run rancher-skydns as a sidekick to get dynamic configuration.

Example

See rancher-example, that run kafka in a rancher system with dynamic configuration.

Docker Pull Command
Owner
rawmind
Source Repository