The container is meant to run on DCOS in marathon. It's using the official consul:latest image as a base. I had to add a little script so the Consul cluster can survive a configuration change in marathon.
Be aware that you can not directly start all instances that you want to have in your cluster. you need to slowly scale up in marathon until you have