create_container
Create a new container on a Proxmox node by specifying VM ID, hostname, OS template, memory, and network settings.
Instructions
Create a new container on Proxmox
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| net0 | No | Network interface configuration | |
| node | Yes | Node to create container on | |
| swap | No | Swap in MB | |
| vmid | Yes | Container ID (unique, 100-999999999) | |
| cores | No | Number of CPU cores | |
| ipaddr | No | IP address | |
| memory | Yes | Memory in MB | |
| gateway | No | Gateway | |
| hostname | Yes | Container hostname | |
| password | No | Root password | |
| nameserver | No | DNS server | |
| ostemplate | Yes | OS template (e.g., 'local:vztmpl/ubuntu-22.04-standard_22.04-1_amd64.tar.zst') | |
| description | No | Description | |
| unprivileged | No | Unprivileged container | |
| ssh_public_keys | No | SSH public keys |