Create LXC Container
proxmox_create_lxcCreate a new LXC container on a Proxmox node using a unique VMID and OS template, with configurable RAM, rootfs, storage, hostname, password, and network settings.
Instructions
Create a new LXC container (requires elevated permissions)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| net0 | No | Network interface config (e.g., name=eth0,bridge=vmbr0,ip=dhcp) | |
| node | Yes | Node name where container will be created | |
| vmid | Yes | Container ID number (must be unique, or use proxmox_get_next_vmid) | |
| memory | No | RAM in MB | |
| rootfs | No | Root filesystem size in GB | 8 |
| storage | No | Storage location | local-lvm |
| hostname | No | Container hostname | |
| password | No | Root password (minimum 5 characters) | |
| ostemplate | Yes | OS template (e.g., local:vztmpl/debian-12-standard_12.2-1_amd64.tar.gz) |