docker_containers
Manage Docker containers by listing, starting, stopping, removing, and inspecting them. Supports log viewing, command execution, and resource monitoring directly via the Code MCP Server.
Instructions
Manage Docker containers (list, start, stop, remove, etc.)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
action | Yes | Action to perform on containers | |
all | No | Show all containers including stopped ones | |
command | No | Command to execute (for exec action) | |
container | No | Container name or ID | |
follow | No | Follow log output (for logs action) | |
force | No | Force operation | |
tail | No | Number of lines to show from end of logs | |
volumes | No | Remove associated volumes (for remove action) |