docker/docker — pull request #7351 by crosbymichael (2014-07-31 17:03:38+00:00)
Title: Provide more information from the get containers endpoint

We are seeing a lot of ppl worried about performance when trying to get container information from docker. This is because to get all the running containers and extra information about the config of the container they have to make a lot of individual requests. One to `/containers/json` then for each container returned they need to make a request to `/containers//json` to get the data that they need.

As a result most people will not do this and end up storing the information in a cache. Redis, etcd, etc....

We can do this small change and it goes along way of getting the information to the people who need it and having a fast API endpoint to query so they do not have to have another method to cache this information and worry about TTLs or other ways that your cached information can get out of sync with reality.

Lets provide this information to the user in one request because docker is the only source to truth when it comes to running containers.