Docker icon

Docker

Manage Docker containers, images, networks, volumes, and daemon metadata with Unix socket, TCP, TLS, or SSH connections

Container → Stats

AI-generated

Summary

Retrieve real‑time statistics for a Docker container.

Inputs

  • containerId (required) — Container name or full/short ID

Output shape

JSON object with container usage metrics (CPU, memory, network, etc.)

Fields may be optional or truncated depending on Docker API version; no error envelope — failure returns an error response.

Examples

Example 1: Get stats for a container named 'web_app'

containerId: 'web_app'

Links

Discussion