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:
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Reference in New Issue
Block a user