Merge pull request #3959 from cpuguy83/3958_add_ability_to_remove_running_container_in_single_command

Add ability to force removal of running container via docker rm -f
This commit is contained in:
unclejack
2014-03-07 00:05:57 +02:00
7 changed files with 83 additions and 2 deletions
@@ -51,6 +51,11 @@ What's new
**New!** You can now use the force parameter to force delete of an image, even if it's
tagged in multiple repositories.
.. http:delete:: /containers/(id)
**New!** You can now use the force paramter to force delete a container, even if
it is currently running
v1.9
****
@@ -597,6 +597,7 @@ Remove a container
HTTP/1.1 204 OK
:query v: 1/True/true or 0/False/false, Remove the volumes associated to the container. Default false
:query force: 1/True/true or 0/False/false, Removes the container even if it was running. Default false
:statuscode 204: no error
:statuscode 400: bad parameter
:statuscode 404: no such container