Make exec start return proper error codes
Exec start was sending HTTP 500 for every error. Fixed an error where pausing a container and then calling exec start caused the daemon to freeze. Updated API docs which incorrectly showed that a successful exec start was an HTTP 201, in reality it is HTTP 200. Signed-off-by: Brian Goff <cpuguy83@gmail.com> Upstream-commit: 2d43d93410c29cec87deb9cd940c3b2a8af5fbbb Component: engine
This commit is contained in:
@ -90,6 +90,7 @@ list of DNS options to be used in the container.
|
||||
* `GET /events` now includes a `timenano` field, in addition to the existing `time` field.
|
||||
* `GET /info` now lists engine version information.
|
||||
* `GET /containers/json` will return `ImageID` of the image used by container.
|
||||
* `POST /exec/(name)/start` will now return an HTTP 409 when the container is either stopped or paused.
|
||||
|
||||
### v1.20 API changes
|
||||
|
||||
|
||||
Reference in New Issue
Block a user