Serf on Docker containers
Switch branches/tags
Nothing to show
Clone or download
#1 Compare This branch is 3 commits ahead, 28 commits behind sequenceiq:serf-only.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
handlers
Dockerfile
README.md
dnsmasq.conf
event-router.sh
resolv.dnsmasq.conf
serf-config.json
serf-functions
serf.sysv.init
start-serf-agent.sh

README.md

Serf/Dnsmasq on Docker

This image aims to provide resolvable fully qualified domain names, between dynamically created docker containers on ubuntu.

The problem

By default /etc/hosts is readonly in docker containers. The usual solution is to start a DNS server (probably as a docker container) and pass a reference when starting docker instances: docker run -dns <IP_OF_DNS>

Reference

The guys at sequenceiq have done the fantastic job to solve this problem full credit to them.

Visit here for more details Serf/Dnsmaq

Visit here for presentation Hadoop Summit