Rancher has come a long way since its early versions, and is becoming quite good at managing Docker applications and deploying complex services. That said, as your stacks move from simple demos to production applications you quickly realize that you need to know more about your Docker environment when you configure and upgrade container services.
To address that problem, we recently introduced a container metadata service with Rancher v0.38.0, similar to Amazon’s Instance Metadata service.
What does the Metadata service provide?
A lot really, within a container the most useful information is found under the /self link, but the API can provide information about other services, stacks, and containers in an environment. The best way to understand how to use the service is through an example. Continue reading