Add status string to State field for inspect

Fixes: #13579

Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
Upstream-commit: fed85c32963b8254a56c527a3251358ead47d798
Component: engine
This commit is contained in:
Qiang Huang
2015-07-28 08:48:27 +08:00
parent 6b7f5ef206
commit 0148655e94
4 changed files with 38 additions and 2 deletions

View File

@ -425,8 +425,9 @@ Return low-level information on the container `id`
"Paused": false,
"Pid": 0,
"Restarting": false,
"Running": false,
"StartedAt": "2015-01-06T15:47:32.072697474Z"
"Running": true,
"StartedAt": "2015-01-06T15:47:32.072697474Z",
"Status": "running"
},
"Mounts": [
{
@ -2159,6 +2160,7 @@ Return low-level information about the `exec` command `id`.
"OpenStdout" : false,
"Container" : {
"State" : {
"Status" : "running",
"Running" : true,
"Paused" : false,
"Restarting" : false,