docker/docker — pull request #7686 by guywithnose (2014-08-22 18:41:26+00:00)
Title: Truncate the names list on ps

This keeps the output readable even when a container has a lot of names. This can easily happen if you are developing with a testing image that links to another image. I see this happen all the time while using [fig](http://www.fig.sh/).

For example if you are running a test build that requires a mongo image:
After the first run you're names list on the mongo image is `build_1/mongo,mongo`
After the second run you're names list on the mongo image is `build_2/mongo,build_1/mongo,mongo`
After the 100th run running `docker ps` is very difficult to read.

This pull request simply truncates the names list by default the same way that the id and command are already truncated. If you need to see the whole list you just run `docker ps --no-trunc`.