Merge pull request #15023 from hqhq/hq_add_status_in_inspect

Add status string to State field for inspect
This commit is contained in:
Alexander Morozov
2015-08-28 08:27:36 -07:00
4 changed files with 38 additions and 2 deletions

View File

@@ -437,8 +437,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": [
{
@@ -2176,6 +2177,7 @@ Return low-level information about the `exec` command `id`.
"OpenStdout" : false,
"Container" : {
"State" : {
"Status" : "running",
"Running" : true,
"Paused" : false,
"Restarting" : false,