mirror of
https://github.com/docker/compose.git
synced 2026-09-01 07:11:06 +00:00
Add --json option to commands
- docker ps - docker context ls Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
This commit is contained in:
parent
505b6a90c8
commit
f6aad0d7b4
6 changed files with 116 additions and 26 deletions
22
cli/cmd/testdata/inspect-out-id.golden
vendored
22
cli/cmd/testdata/inspect-out-id.golden
vendored
|
|
@ -1,13 +1,13 @@
|
|||
{
|
||||
"ID": "id",
|
||||
"Status": "",
|
||||
"Image": "nginx",
|
||||
"Command": "",
|
||||
"CPUTime": 0,
|
||||
"MemoryUsage": 0,
|
||||
"MemoryLimit": 0,
|
||||
"PidsCurrent": 0,
|
||||
"PidsLimit": 0,
|
||||
"Labels": null,
|
||||
"Ports": null
|
||||
"ID": "id",
|
||||
"Status": "",
|
||||
"Image": "nginx",
|
||||
"Command": "",
|
||||
"CPUTime": 0,
|
||||
"MemoryUsage": 0,
|
||||
"MemoryLimit": 0,
|
||||
"PidsCurrent": 0,
|
||||
"PidsLimit": 0,
|
||||
"Labels": null,
|
||||
"Ports": null
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue