run_container
Launch and configure Docker containers with specified image, name, ports, volumes, environment variables, and commands using the MCP protocol for streamlined container management.
Instructions
Run a Docker container
Input Schema
Name | Required | Description | Default |
---|---|---|---|
command | No | Command to run in the container | |
detach | No | Run container in background | |
env | No | Environment variables (e.g. ["KEY=value"]) | |
image | Yes | Docker image to run | |
name | No | Name for the container | |
ports | No | Port mappings (e.g. ["8080:80"]) | |
volumes | No | Volume mappings (e.g. ["/host/path:/container/path"]) |