dotcloud/docker — pull request #4621 by unclejack (2014-03-12 16:04:31+00:00)
Title: don't leave empty CIDFile behind

This makes `--cidfile` clean up empty container ID files. These are left behind when creating the container fails.

This PR adds a test and renames the existing CIDFile tests.

Fixes #3791