dotcloud/docker — pull request #6864 by srijs (2014-07-07 00:22:51+00:00)
Title: add NoIndex option to daemon

While investigating #5923, it became clear that for our specific use-case, namely creating/starting/removing containers in a rapid fashion, the TruncIndex is a source of short-lived allocations which bloat memory usage and degrade performance.

This patch adds a option `NoIndex` to be passed for container creation, which prevents the container from getting indexed into the TruncIndex.