Files
Wiki/containerization/docker.md

208 B

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.