docker inspect output

A mock JSON output from running docker inspect.

Open in JSON Formatter

About this format

The docker inspect command outputs deep JSON structures containing everything about a container or image.

Example Data

[
  {
    "Id": "abc123xyz",
    "State": {
      "Status": "running",
      "Running": true
    },
    "NetworkSettings": {
      "IPAddress": "172.17.0.2"
    }
  }
]

When to use docker inspect output

  • Extracting container IP addresses
  • Checking container health
  • Automating deployments