context_use
Switch the default Docker CLI context to manage containers on a different host or configuration. Specify the existing context name to apply it immediately.
Instructions
Set the active Docker context for the CLI on the host running this MCP server.
Note: this does not retarget the long-lived docker-py client — SDK-backed tools keep using the endpoint they connected to at startup. To retarget those, restart the server with a different DOCKER_HOST / DOCKER_CONTEXT.
args: name - Existing context name to set as default returns: dict - {"returncode": int, "stdout": str, "stderr": str, "truncated": bool}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes |