pve_create_container
Create a new LXC container on Proxmox VE with a dry-run plan before execution. Specify vmid, template, storage, and optional parameters like cores and memory.
Instructions
MUTATION: create a new LXC container. Dry-run by default; confirm=True. Async — returns a
UPID (poll with pve_task_status). options carries extra create params (cores, memory, net0,
rootfs, password, ...). For a QEMU VM use pve_create_vm; to copy an existing guest instead
use pve_clone.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | No | PVE node to create the container on. Omit to use the configured default node. | |
| vmid | Yes | Numeric CTID to assign to the new LXC container. | |
| confirm | No | Leave `false` (default) to get a dry-run PLAN; set `true` to execute the creation. | |
| options | No | Extra Proxmox create params (e.g. cores, memory, net0, rootfs, password) merged into the request. | |
| storage | Yes | Storage backend name to place the container's root filesystem on. | |
| ostemplate | Yes | Storage volume ID of the OS template to install, e.g. `local:vztmpl/debian-12-standard_12.2-1_amd64.tar.zst`. | |
| proximo_target | No | Which configured Proxmox target to run this call against — a target name from your multi-target config (a specific PVE/PBS/PMG/PDM box). Omit to use the single/default target from the environment; the selection applies only to this call. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |