pct-create
TLDR
Create container with disk size
SYNOPSIS
pct create vmid template [OPTIONS]
DESCRIPTION
pct create creates a new LXC container in Proxmox VE from a template image. It configures storage, networking, resources, and other container properties during creation.
PARAMETERS
vmid
The numeric ID for the new containertemplate
Path to the container template (e.g., local:vztmpl/distro.tar.zst)--rootfs storage:size
Root filesystem storage and size in GB--memory megabytes
Memory limit in MB--hostname name
Container hostname--password password
Root password for the container--netN config
Network interface configuration--features list
Enable features like nesting--start
Start container after creation
CAVEATS
Templates must be downloaded or uploaded to Proxmox storage first. The container ID must be unique across the cluster. Enable nesting for containers that run Docker or other containers inside.
HISTORY
pct create is part of the Proxmox VE virtualization platform for managing LXC containers.
SEE ALSO
pct(1), pct-clone(1), pct-destroy(1)
