Actions42
- Container Actions
- Image Actions
- Network Actions
- System Actions
- Volume Actions
Container → Stats
AI-generatedSummary
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'