arrow_back
Back

Docker service discovery: etcd, Consul, SkyDNS, and overlays

Andrew Dorokhov Andrew Dorokhov schedule 1 min read
menu_book Table of Contents

Service discovery is the process of giving a client the information it needs to connect to the best available instance of a service.

etcd

etcd is a distributed key-value store. Many discovery tools use it as a backing registry.

SkyDNS

open_in_new SkyDNS provides DNS-based service discovery on top of etcd.

Consul

open_in_new Consul from HashiCorp is a distributed key-value store with strong health checking and a built-in DNS server.

Other tools

  • ZooKeeper
  • SmartStack
  • Eureka
  • WeaveDNS
  • docker-discover

Classic Docker network modes

Four primary modes: bridge, host, container, and none.

See Networking for CNM drivers and modern user-defined networks.

Docker networks and services

Modern Docker adds first-class network and service objects (especially in Swarm and Compose).

Multi-host networking

  • Overlay (built into Swarm)
  • Weave
  • Flannel
  • Project Calico
code

Need Help with Development?

Happy to help — reach out via the contacts or go straight to my Upwork profile.

work View Upwork Profile arrow_forward
Next Article

Docker security: run Docker Bench for Security

arrow_forward