API: Delete container can return 409, but that isn't documented.
(cherry picked from commit 86f962a4a81d9168fccb6a92299e88e560de49f1)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
| ... | ... |
@@ -4014,6 +4014,13 @@ paths: |
| 4014 | 4014 |
examples: |
| 4015 | 4015 |
application/json: |
| 4016 | 4016 |
message: "No such container: c2ada9df5af8" |
| 4017 |
+ 409: |
|
| 4018 |
+ description: "conflict" |
|
| 4019 |
+ schema: |
|
| 4020 |
+ $ref: "#/definitions/ErrorResponse" |
|
| 4021 |
+ examples: |
|
| 4022 |
+ application/json: |
|
| 4023 |
+ message: "You cannot remove a running container: c2ada9df5af8. Stop the container before attempting removal or use -f" |
|
| 4017 | 4024 |
500: |
| 4018 | 4025 |
description: "server error" |
| 4019 | 4026 |
schema: |