docker-swarm and docker-compose how to dynamically add nodes and have them resolvable by the services
Docker just released a new Version with built in orchestration:
https://blog.docker.com/2016/06/docker-1-12-built-in-orchestration/
You can start a new Swarm Cluster with:
docker swarm init
And create Services:
docker service create –name frontend –replicas 5 -p 80:80/tcp nginx:latest
The created Services will be load balanced and you can scale it up and down:
docker service scale frontend=X