DockerCLI/docs/reference
Sebastiaan van Stijn 2c1fde2239
fix docker info --format=json not outputting json format
The --format=json option was added for all inspect commands, but was not implemented
for "docker info". This patch implements the missing option.

Before this patch:

    docker info --format=json
    json

With this patch applied:

    docker info --format=json
    {"ID":"80c2f18a-2c88-4e4a-ba69-dca0eea59835","Containers":7,"ContainersRunning":"..."}

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 46234b82e2)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-04-26 12:12:25 +02:00
..
commandline fix docker info --format=json not outputting json format 2023-04-26 12:12:25 +02:00
builder.md docs: dockerfile reference moved to buildkit repo 2022-06-27 11:51:46 +02:00
glossary.md Update most links in docs to use https by default 2021-10-15 15:04:36 +08:00
index.md docs: dockerfile reference moved to buildkit repo 2022-06-27 11:51:46 +02:00
run.md note `--user` args usage restriction 2023-01-17 22:45:23 +01:00