container_create
Create a new Docker container from an image with optional name, environment variables, port mappings, and volume mounts.
Instructions
Create a new container from an image.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | Environment variables (e.g., ["KEY=val"]) | |
| name | No | Container name | |
| image | Yes | Image name (e.g., nginx:latest) | |
| ports | No | Port mappings (e.g., ["8080:80"]) | |
| volumes | No | Volume mounts (e.g., ["vol:/data"]) |