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

Signed-off-by: Daniel Zhang <jmzwcn@gmail.com>
This commit is contained in:
Daniel Zhang 2017-01-01 12:20:21 +08:00
parent 997777ae92
commit c0cf14a73c

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: