Consul with Containers | Consul - HashiCorp Learn
In this tutorial, you will learn how to deploy two, joined Consul agents each running in separate Docker containers. You will also register a service and perform basic maintenance operations. The two Consul agents will form a small datacenter.
https://learn.hashicorp.com/tutorials/consul/docker-container-agents?in=consul/docke