mirror of https://github.com/docker/docs.git
Add missing 'Names' field to /containers/json API output
Closes #14675 Wasn't sure how far back I needed to go so I did just a few. Signed-off-by: Doug Davis <dug@us.ibm.com>
This commit is contained in:
parent
cd642973fa
commit
081991c01e
|
@ -43,6 +43,7 @@ List containers
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"Id": "8dfafdbc3a40",
|
"Id": "8dfafdbc3a40",
|
||||||
|
"Names":["/boring_feynman"],
|
||||||
"Image": "ubuntu:latest",
|
"Image": "ubuntu:latest",
|
||||||
"Command": "echo 1",
|
"Command": "echo 1",
|
||||||
"Created": 1367854155,
|
"Created": 1367854155,
|
||||||
|
@ -53,6 +54,7 @@ List containers
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Id": "9cd87474be90",
|
"Id": "9cd87474be90",
|
||||||
|
"Names":["/coolName"],
|
||||||
"Image": "ubuntu:latest",
|
"Image": "ubuntu:latest",
|
||||||
"Command": "echo 222222",
|
"Command": "echo 222222",
|
||||||
"Created": 1367854155,
|
"Created": 1367854155,
|
||||||
|
@ -63,6 +65,7 @@ List containers
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Id": "3176a2479c92",
|
"Id": "3176a2479c92",
|
||||||
|
"Names":["/sleepy_dog"],
|
||||||
"Image": "ubuntu:latest",
|
"Image": "ubuntu:latest",
|
||||||
"Command": "echo 3333333333333333",
|
"Command": "echo 3333333333333333",
|
||||||
"Created": 1367854154,
|
"Created": 1367854154,
|
||||||
|
@ -73,6 +76,7 @@ List containers
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Id": "4cb07b47f9fb",
|
"Id": "4cb07b47f9fb",
|
||||||
|
"Names":["/running_cat"],
|
||||||
"Image": "ubuntu:latest",
|
"Image": "ubuntu:latest",
|
||||||
"Command": "echo 444444444444444444444444444444444",
|
"Command": "echo 444444444444444444444444444444444",
|
||||||
"Created": 1367854152,
|
"Created": 1367854152,
|
||||||
|
|
|
@ -43,6 +43,7 @@ List containers
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"Id": "8dfafdbc3a40",
|
"Id": "8dfafdbc3a40",
|
||||||
|
"Names":["/boring_feynman"],
|
||||||
"Image": "ubuntu:latest",
|
"Image": "ubuntu:latest",
|
||||||
"Command": "echo 1",
|
"Command": "echo 1",
|
||||||
"Created": 1367854155,
|
"Created": 1367854155,
|
||||||
|
@ -53,6 +54,7 @@ List containers
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Id": "9cd87474be90",
|
"Id": "9cd87474be90",
|
||||||
|
"Names":["/coolName"],
|
||||||
"Image": "ubuntu:latest",
|
"Image": "ubuntu:latest",
|
||||||
"Command": "echo 222222",
|
"Command": "echo 222222",
|
||||||
"Created": 1367854155,
|
"Created": 1367854155,
|
||||||
|
@ -63,6 +65,7 @@ List containers
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Id": "3176a2479c92",
|
"Id": "3176a2479c92",
|
||||||
|
"Names":["/sleep_dog"],
|
||||||
"Image": "ubuntu:latest",
|
"Image": "ubuntu:latest",
|
||||||
"Command": "echo 3333333333333333",
|
"Command": "echo 3333333333333333",
|
||||||
"Created": 1367854154,
|
"Created": 1367854154,
|
||||||
|
@ -73,6 +76,7 @@ List containers
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Id": "4cb07b47f9fb",
|
"Id": "4cb07b47f9fb",
|
||||||
|
"Names":["/running_cat"],
|
||||||
"Image": "ubuntu:latest",
|
"Image": "ubuntu:latest",
|
||||||
"Command": "echo 444444444444444444444444444444444",
|
"Command": "echo 444444444444444444444444444444444",
|
||||||
"Created": 1367854152,
|
"Created": 1367854152,
|
||||||
|
|
|
@ -43,6 +43,7 @@ List containers
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"Id": "8dfafdbc3a40",
|
"Id": "8dfafdbc3a40",
|
||||||
|
"Names":["/boring_feynman"],
|
||||||
"Image": "ubuntu:latest",
|
"Image": "ubuntu:latest",
|
||||||
"Command": "echo 1",
|
"Command": "echo 1",
|
||||||
"Created": 1367854155,
|
"Created": 1367854155,
|
||||||
|
@ -53,6 +54,7 @@ List containers
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Id": "9cd87474be90",
|
"Id": "9cd87474be90",
|
||||||
|
"Names":["/coolName"],
|
||||||
"Image": "ubuntu:latest",
|
"Image": "ubuntu:latest",
|
||||||
"Command": "echo 222222",
|
"Command": "echo 222222",
|
||||||
"Created": 1367854155,
|
"Created": 1367854155,
|
||||||
|
@ -63,6 +65,7 @@ List containers
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Id": "3176a2479c92",
|
"Id": "3176a2479c92",
|
||||||
|
"Names":["/sleepy_dog"],
|
||||||
"Image": "ubuntu:latest",
|
"Image": "ubuntu:latest",
|
||||||
"Command": "echo 3333333333333333",
|
"Command": "echo 3333333333333333",
|
||||||
"Created": 1367854154,
|
"Created": 1367854154,
|
||||||
|
@ -73,6 +76,7 @@ List containers
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Id": "4cb07b47f9fb",
|
"Id": "4cb07b47f9fb",
|
||||||
|
"Names":["/running_cat"],
|
||||||
"Image": "ubuntu:latest",
|
"Image": "ubuntu:latest",
|
||||||
"Command": "echo 444444444444444444444444444444444",
|
"Command": "echo 444444444444444444444444444444444",
|
||||||
"Created": 1367854152,
|
"Created": 1367854152,
|
||||||
|
|
|
@ -43,6 +43,7 @@ List containers
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"Id": "8dfafdbc3a40",
|
"Id": "8dfafdbc3a40",
|
||||||
|
"Names":["/boring_feynman"],
|
||||||
"Image": "ubuntu:latest",
|
"Image": "ubuntu:latest",
|
||||||
"Command": "echo 1",
|
"Command": "echo 1",
|
||||||
"Created": 1367854155,
|
"Created": 1367854155,
|
||||||
|
@ -53,6 +54,7 @@ List containers
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Id": "9cd87474be90",
|
"Id": "9cd87474be90",
|
||||||
|
"Names":["/coolName"],
|
||||||
"Image": "ubuntu:latest",
|
"Image": "ubuntu:latest",
|
||||||
"Command": "echo 222222",
|
"Command": "echo 222222",
|
||||||
"Created": 1367854155,
|
"Created": 1367854155,
|
||||||
|
@ -63,6 +65,7 @@ List containers
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Id": "3176a2479c92",
|
"Id": "3176a2479c92",
|
||||||
|
"Names":["/sleepy_dog"],
|
||||||
"Image": "ubuntu:latest",
|
"Image": "ubuntu:latest",
|
||||||
"Command": "echo 3333333333333333",
|
"Command": "echo 3333333333333333",
|
||||||
"Created": 1367854154,
|
"Created": 1367854154,
|
||||||
|
@ -73,6 +76,7 @@ List containers
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Id": "4cb07b47f9fb",
|
"Id": "4cb07b47f9fb",
|
||||||
|
"Names":["/running_cat"],
|
||||||
"Image": "ubuntu:latest",
|
"Image": "ubuntu:latest",
|
||||||
"Command": "echo 444444444444444444444444444444444",
|
"Command": "echo 444444444444444444444444444444444",
|
||||||
"Created": 1367854152,
|
"Created": 1367854152,
|
||||||
|
|
|
@ -45,6 +45,7 @@ List containers
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"Id": "8dfafdbc3a40",
|
"Id": "8dfafdbc3a40",
|
||||||
|
"Names":["/boring_feynman"],
|
||||||
"Image": "ubuntu:latest",
|
"Image": "ubuntu:latest",
|
||||||
"Command": "echo 1",
|
"Command": "echo 1",
|
||||||
"Created": 1367854155,
|
"Created": 1367854155,
|
||||||
|
@ -55,6 +56,7 @@ List containers
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Id": "9cd87474be90",
|
"Id": "9cd87474be90",
|
||||||
|
"Names":["/coolName"],
|
||||||
"Image": "ubuntu:latest",
|
"Image": "ubuntu:latest",
|
||||||
"Command": "echo 222222",
|
"Command": "echo 222222",
|
||||||
"Created": 1367854155,
|
"Created": 1367854155,
|
||||||
|
@ -65,6 +67,7 @@ List containers
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Id": "3176a2479c92",
|
"Id": "3176a2479c92",
|
||||||
|
"Names":["/sleepy_dog"],
|
||||||
"Image": "ubuntu:latest",
|
"Image": "ubuntu:latest",
|
||||||
"Command": "echo 3333333333333333",
|
"Command": "echo 3333333333333333",
|
||||||
"Created": 1367854154,
|
"Created": 1367854154,
|
||||||
|
@ -75,6 +78,7 @@ List containers
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Id": "4cb07b47f9fb",
|
"Id": "4cb07b47f9fb",
|
||||||
|
"Names":["/running_cat"],
|
||||||
"Image": "ubuntu:latest",
|
"Image": "ubuntu:latest",
|
||||||
"Command": "echo 444444444444444444444444444444444",
|
"Command": "echo 444444444444444444444444444444444",
|
||||||
"Created": 1367854152,
|
"Created": 1367854152,
|
||||||
|
|
|
@ -45,6 +45,7 @@ List containers
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"Id": "8dfafdbc3a40",
|
"Id": "8dfafdbc3a40",
|
||||||
|
"Names":["/boring_feynman"],
|
||||||
"Image": "ubuntu:latest",
|
"Image": "ubuntu:latest",
|
||||||
"Command": "echo 1",
|
"Command": "echo 1",
|
||||||
"Created": 1367854155,
|
"Created": 1367854155,
|
||||||
|
@ -55,6 +56,7 @@ List containers
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Id": "9cd87474be90",
|
"Id": "9cd87474be90",
|
||||||
|
"Names":["/coolName"]
|
||||||
"Image": "ubuntu:latest",
|
"Image": "ubuntu:latest",
|
||||||
"Command": "echo 222222",
|
"Command": "echo 222222",
|
||||||
"Created": 1367854155,
|
"Created": 1367854155,
|
||||||
|
@ -65,6 +67,7 @@ List containers
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Id": "3176a2479c92",
|
"Id": "3176a2479c92",
|
||||||
|
"Names":["/sleepy_dog"]
|
||||||
"Image": "ubuntu:latest",
|
"Image": "ubuntu:latest",
|
||||||
"Command": "echo 3333333333333333",
|
"Command": "echo 3333333333333333",
|
||||||
"Created": 1367854154,
|
"Created": 1367854154,
|
||||||
|
@ -75,6 +78,7 @@ List containers
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Id": "4cb07b47f9fb",
|
"Id": "4cb07b47f9fb",
|
||||||
|
"Names":["/running_cat"]
|
||||||
"Image": "ubuntu:latest",
|
"Image": "ubuntu:latest",
|
||||||
"Command": "echo 444444444444444444444444444444444",
|
"Command": "echo 444444444444444444444444444444444",
|
||||||
"Created": 1367854152,
|
"Created": 1367854152,
|
||||||
|
|
Loading…
Reference in New Issue