Update docs and test of exec create api return codes

Fixes issue #18054

Signed-off-by: Wen Cheng Ma <wenchma@cn.ibm.com>
Upstream-commit: 01b86d612cba22602509b436aad36d41135f14ce
Component: engine
This commit is contained in:
Wen Cheng Ma
2015-11-19 13:51:26 +08:00
parent 12f51add56
commit 7d68517eab
4 changed files with 22 additions and 3 deletions

View File

@ -2256,6 +2256,8 @@ Status Codes:
- **201** no error
- **404** no such container
- **409** - container is paused
- **500** - server error
### Exec Start
@ -2291,7 +2293,7 @@ Status Codes:
- **200** no error
- **404** no such exec instance
- **409** - container is stopped or paused
- **409** - container is paused
**Stream details**:
Similar to the stream behavior of `POST /container/(id)/attach` API

View File

@ -2263,6 +2263,8 @@ Status Codes:
- **201** no error
- **404** no such container
- **409** - container is paused
- **500** - server error
### Exec Start
@ -2298,7 +2300,7 @@ Status Codes:
- **200** no error
- **404** no such exec instance
- **409** - container is stopped or paused
- **409** - container is paused
**Stream details**:
Similar to the stream behavior of `POST /container/(id)/attach` API