context_list
List Docker CLI contexts with name, description, endpoint, and current flag to identify available daemons and manage multi-daemon access.
Instructions
List Docker CLI contexts known to the host running this MCP server.
Contexts are a CLI concept (stored in the docker config dir) letting one CLI target multiple
daemons. This server uses whatever DOCKER_HOST / current-context resolved to at startup, so
changing contexts only affects future subprocess-based tools, not the docker-py SDK client.
Use context_inspect for one context's full config and context_use to switch.
Raises RuntimeError if the CLI call fails.
returns: list - One dict per context with at least name, description, dockerEndpoint, and current
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||