Docker · Arazzo Workflow
Docker Troubleshoot a Failing Container
Version 1.0.0
Gather the full diagnostic picture for a container — state, logs, processes, resource stats, and filesystem drift.
Provider
Workflows
troubleshoot-container
Collect state, logs, processes, stats, and filesystem changes for one container.
Reads the container's inspect payload for state and exit code, tails its logs, lists the processes running inside it, takes a single non-streaming resource sample, and reports which files have changed relative to the image.
1
inspectState
Read the container's low-level state, including whether it is running, its exit code, OOM-killed flag, restart count, and health status. This is the anchor for the whole diagnosis.
2
readLogs
Tail both stdout and stderr with timestamps so the failure can be placed on a timeline against the state transitions above.
3
listProcesses
List the processes running inside the container. An empty or unexpected process table often explains a container that is "running" but idle. This endpoint is not supported on Windows containers.
4
sampleStats
Take a single resource sample rather than opening the default stats stream, so the workflow terminates. Memory and CPU here corroborate an OOM kill seen in the inspect state.
5
listFilesystemChanges
Report which files have been added, modified, or deleted relative to the image layer. Unexpected writes here point at state that will be lost on recreate, or at a container being used as a pet.
Source API Descriptions
Arazzo Workflow Specification
Work with this as data
Every workflow here is available over the APIs.io API and to AI agents over MCP.