create_container
Create a new LXC container with automated provisioning including Netbox, NPM reverse proxy, DNS, monitoring, and backups. Specify name, function, IP, and optional resources to get a fully configured container.
Instructions
Create and provision a new LXC container with full automation (Netbox, NPM, DNS, monitoring, backups)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | IP address (e.g., "10.92.3.15") | |
| ssl | No | Enable SSL for NPM proxy (default: false) | |
| disk | No | Disk size in GB (default: 32) | |
| name | Yes | Container hostname (lowercase, hyphens only, e.g., "scrypted-nvr") | |
| port | No | Backend port for NPM proxy (default: 80) | |
| cores | No | CPU cores (default: 2) | |
| domain | No | Domain for NPM reverse proxy (e.g., "scrypted.cloudigan.net") | |
| memory | No | RAM in MB (default: 2048) | |
| function | Yes | Container function category (determines CTID range) | |
| privileged | No | Create privileged container (default: false) |