docker_run
Run Docker containers by specifying image, ports, environment variables, and command options. Supports detached mode and auto-removal.
Instructions
Run a Docker container.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | Environment variable in KEY=VALUE format. | |
| name | No | Optional container name. | |
| image | Yes | The image to run. | |
| ports | No | Port mappings in Docker format (e.g. "8080:80"). | |
| detach | No | If True, run in detached mode (-d). Default: True. | |
| remove | No | If True, remove container on exit (--rm). | |
| command | No | Optional command to run inside the container. | |
| confirm | No | Set to True to confirm when required by config. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||