I’m having a bad time testing out my Nomad cluster locally on my laptop running OSX. I first ran it inside Docker (which is not recommended) but that broke things like memory detection and it didn’t like template-stanzas.
I then decided to run Nomad and Consul outside of Docker using bridge networking (the default), the containers live in the default
172.17.0.0/16 address space, but when looking up services in Consul, the containers are receiving
127.0.0.1, which won’t work inside the containers, they need the bridged IP.
Can anyone tell me how they run their local single node clusters for testing purposes and give me any hints?
It seems like Weave had the right idea for local development, but I have hard time finding any recent guides on how to run it with Nomad, and since version 2 they seem to focus on Docker Swarm.