dotcloud/docker — pull request #3144 by codeaholics (2013-12-09 20:49:16+00:00)
Title: Prevent deletion of image if ANY container is depending on it; not just running containers

Fixes #643 (at least, both the listed repro cases).