Docker on Nomad

2017-04-08 13:00

Running docker containers on a cluster has several solutions available today:

  • ECS, Amazons Elastic Container Service
  • Kubernetes - A docker clustering and scheduling solution from programmers at Google
  • Docker Swarm - Native clustering from Docker which I covered in a setup last week
  • Hashicorp's Nomad - A task scheduler for clusters that supports Docker

I have been working with Nomad this week with the resulting 3 server cluster available here to play with. Github Repo.

Amazing picture
To address the issue of service discovery, I installed another Hashicorp product, Consul. This is configured in almost (but not quite) the same way as Nomad, and you will see from the config it is very similar. With this, the services can advertise where they are installed making it easy to find via DNS or API calls.

The example code in the repo will setup the Consul and Nomad cluster, but with the issue of the network cards.

I might solve this issue next week, and when I do, the repo will be updated.

As always, comments are welcome.

XLinkedInGitHubYouTube
© 2017-2025 Neil Millard
Github - Twitter - Finance Tools - Facebook - YouTube channel - Tech Answers Club - Clock