
Proxmox VE Create
CertifiedCreate an LXC container on Proxmox VE
Proxmox VE Create
Create an LXC container on Proxmox VE
Creates a new LXC container via POST /nodes/{node}/lxc. Defaults: 1 vCPU, 512 MiB RAM, rootfs on local-lvm: 4, bridge on vmbr0. Set powerOn to true to start the container after creation.
type: io.kestra.plugin.proxmox.container.CreateExamples
Create a container from a template
id: create_container
namespace: company.team
tasks:
- id: create
type: io.kestra.plugin.proxmox.container.Create
host: "{{ secret('PROXMOX_HOST') }}"
username: "{{ secret('PROXMOX_USERNAME') }}"
password: "{{ secret('PROXMOX_PASSWORD') }}"
node: pve
vmId: 300
osTemplate: "local:vztmpl/ubuntu-22.04-standard_22.04-1_amd64.tar.zst"
hostname: my-container
cores: 2
memory: 1024
rootfs: "local-lvm:8"
powerOn: true
Properties
host *Requiredstring
Proxmox host
Hostname or IP address of the Proxmox VE node (no scheme, no port).
node *Requiredstring
Proxmox node name
Name of the cluster node that scopes all API calls (e.g. pve, node1).
osTemplate *Requiredstring
OS template
Storage path to the LXC template, e.g. local: vztmpl/ubuntu-22.04.tar.zst.
vmId *Requiredintegerstring
Container ID
Integer VMID to assign. Must be unique in the cluster.
cores integerstring
1Number of CPU cores
Defaults to 1.
hostname string
Container hostname
memory integerstring
512Memory in MiB
Defaults to 512.
net string
name=eth0,bridge=vmbr0,ip=dhcpNetwork interface
LXC net string, e.g. name=eth0,bridge=vmbr0,ip=dhcp.
password string
Password
Password for ticket-based authentication.
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
port integerstring
8006API port
Defaults to 8006.
powerOn booleanstring
falseStart after creation
Defaults to false.
rootfs string
local-lvm:4Root filesystem
Storage and size, e.g. local-lvm: 4.
tokenId string
API token ID
Full token identifier in the form user@realm!tokenname (e.g. root@pam!mytoken). Use together with tokenSecret.
tokenSecret string
API token secret
The UUID secret associated with the token ID.
unprivileged booleanstring
trueUnprivileged container
Create an unprivileged container. Defaults to true.
username string
Username
PAM or PVE user in the form user@realm (e.g. root@pam). Required when using ticket-based auth.
verifySsl booleanstring
trueVerify SSL
Validate the server TLS certificate. Defaults to true; set to false only for trusted networks with self-signed Proxmox certificates.