create_container
Create a new Docker container on a VPS by specifying image, name, ports, volumes, environment variables, network, and restart policy.
Instructions
Create a new container
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Container name | |
| image | Yes | Image to use (e.g., nginx:latest) | |
| env | No | Environment variables (e.g., ["VAR=value"]) | |
| ports | No | Port mappings (e.g., {"80/tcp": [{"HostPort": "8080"}]}) | |
| volumes | No | Volume bindings | |
| network | No | Network to connect to | |
| restart_policy | No | Restart policy (no, always, on-failure, unless-stopped) |