In this post I will touch on Consul. Consul is a service discovery tool. Service discovery allows us to uncouple the creation and linking of Docker containers. In my setup I felt that my containers are too dependent on each other and the Docker-compose definition. This makes scaling horizontally very difficult. In addition to this adding new services, like say another web server for proxying is harder than it should be.
This is where Consul comes in. This means that when a container comes up it can query Consul and find all the web servers it needs to know about. The container can also be alerted when a new container is created and react to it.
Unfortunately I do not have any real examples other than you can play around with Consul in Docker with this command.
docker run -d --name=consul --net=host gliderlabs/consul-server -bootstrap
If you cannot tell I am working on some new posts that will deal with Consul and Docker so stay tuned.