API: Delete container can return 409, but that isn't documented. #29796

Signed-off-by: Daniel Zhang <jmzwcn@gmail.com>
Upstream-commit: c0cf14a73c38bf573803be8bc50af95a411732ba
Component: engine
This commit is contained in:
Daniel Zhang
2017-01-01 16:01:56 +08:00
parent 7b6b04247c
commit 1fc6e0566f
+7
View File
@@ -4045,6 +4045,13 @@ paths:
examples:
application/json:
message: "No such container: c2ada9df5af8"
409:
description: "conflict"
schema:
$ref: "#/definitions/ErrorResponse"
examples:
application/json:
message: "You cannot remove a running container: c2ada9df5af8. Stop the container before attempting removal or use -f"
500:
description: "server error"
schema: