context_list
List all Docker CLI contexts available on the host, showing name, description, endpoint, and which is currently active.
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 | |||