12 lines
208 B
Markdown
12 lines
208 B
Markdown
# docker
|
|
|
|
## Output format
|
|
|
|
You can change the output format of any (?) docker command to JSON by using the following parameter:
|
|
|
|
```
|
|
docker ps -a --format '{{json .}}'
|
|
```
|
|
|
|
It uses the Go templating engine.
|