container_list
List Docker containers with flexible filtering by status, labels, creation time, or management scope. Supports sparse output and ignored removals.
Instructions
List containers.
args:
all - Show all containers, including stopped ones
since - Only show containers created after this id or name
before - Only show containers created before this id or name
limit - Maximum number of results
filters - Filter by attributes (e.g. status, label)
sparse - Skip inspect calls and return less detail
ignore_removed - Ignore containers removed during listing
managed_only - Only return containers created by this MCP server (filters on the
docker-mcp-server.managed label); combines with any filters given
returns: list - A list of container attrs dicts
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | ||
| limit | No | ||
| since | No | ||
| before | No | ||
| sparse | No | ||
| filters | No | ||
| managed_only | No | ||
| ignore_removed | No |