1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #29808 from jmzwcn/issue29796

API: Delete container can return 409, but that isn't documented.
This commit is contained in:
Sebastiaan van Stijn 2017-01-02 14:41:03 +01:00 committed by GitHub
commit 86f962a4a8

View file

@ -4045,6 +4045,13 @@ paths:
examples: examples:
application/json: application/json:
message: "No such container: c2ada9df5af8" 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: 500:
description: "server error" description: "server error"
schema: schema: