Fix docker ps truncate long image name by default
Signed-off-by: Lei Jitang <leijitang@huawei.com> Upstream-commit: 3fcf481361400acd5e56da2a8c76cf888092b2e4 Component: engine
This commit is contained in:
@ -89,6 +89,7 @@ list of DNS options to be used in the container.
|
||||
* `POST /build` now optionally takes a serialized map of build-time variables.
|
||||
* `GET /events` now includes a `timenano` field, in addition to the existing `time` field.
|
||||
* `GET /info` now lists engine version information.
|
||||
* `GET /containers/json` will return `ImageID` of the image used by container.
|
||||
|
||||
### v1.20 API changes
|
||||
|
||||
|
||||
@ -47,6 +47,7 @@ List containers
|
||||
"Id": "8dfafdbc3a40",
|
||||
"Names":["/boring_feynman"],
|
||||
"Image": "ubuntu:latest",
|
||||
"ImageID": "d74508fb6632491cea586a1fd7d748dfc5274cd6fdfedee309ecdcbc2bf5cb82",
|
||||
"Command": "echo 1",
|
||||
"Created": 1367854155,
|
||||
"Status": "Exit 0",
|
||||
@ -63,6 +64,7 @@ List containers
|
||||
"Id": "9cd87474be90",
|
||||
"Names":["/coolName"],
|
||||
"Image": "ubuntu:latest",
|
||||
"ImageID": "d74508fb6632491cea586a1fd7d748dfc5274cd6fdfedee309ecdcbc2bf5cb82",
|
||||
"Command": "echo 222222",
|
||||
"Created": 1367854155,
|
||||
"Status": "Exit 0",
|
||||
@ -75,6 +77,7 @@ List containers
|
||||
"Id": "3176a2479c92",
|
||||
"Names":["/sleepy_dog"],
|
||||
"Image": "ubuntu:latest",
|
||||
"ImageID": "d74508fb6632491cea586a1fd7d748dfc5274cd6fdfedee309ecdcbc2bf5cb82",
|
||||
"Command": "echo 3333333333333333",
|
||||
"Created": 1367854154,
|
||||
"Status": "Exit 0",
|
||||
@ -87,6 +90,7 @@ List containers
|
||||
"Id": "4cb07b47f9fb",
|
||||
"Names":["/running_cat"],
|
||||
"Image": "ubuntu:latest",
|
||||
"ImageID": "d74508fb6632491cea586a1fd7d748dfc5274cd6fdfedee309ecdcbc2bf5cb82",
|
||||
"Command": "echo 444444444444444444444444444444444",
|
||||
"Created": 1367854152,
|
||||
"Status": "Exit 0",
|
||||
|
||||
Reference in New Issue
Block a user