dotcloud/docker — pull request #5839 by unclejack (2014-05-16 11:54:03+00:00)
Title: add --force-rm to clean up after a failed build

This PR is WIP.

This adds a `--force-rm` flag to docker build which makes the Docker daemon clean up all containers, even when the build has failed.

Fixes #5644