docker info --format '{{json .}}'

Category: Docker

docker info --format '{{json .}}'

Output docker info as JSON (for scripting)

Outputs docker info (system configuration) as JSON for scripting.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.