CmdID

CmdID / Commands

pct-create

Create LXC containers in Proxmox. tldr-pages

On Linux

Opens CmdID with your command. It is read in your browser and sent nowhere.

Create a container from a template with 4GB size, give it 512MiB of memory, and unlimited access to CPU

pct [cr 100 local:vztmpl/distro-name.tar.zst --rootfs local-lvm:4Identify

Give a container a specific memory limit in megabytes

pct [cr 100 local:vztmpl/distro-name.tar.zst --rootfs local-lvm:4 --memory 8192Identify

Give a container a hostname and a password

pct [cr 100 local:vztmpl/distro-name.tar.zst --rootfs local-lvm:4 --hostname hostname --password passwordIdentify

Give a container network access

pct [cr 100 local:vztmpl/distro-name.tar.zst --rootfs local-lvm:4 --net0 name=eth0,bridge=vmbr0,ip=dhcp --features nesting=1Identify

Start a container immediately after creation

pct [cr 100 local:vztmpl/distro-name.tar.zst --rootfs local-lvm:4 --startIdentify

Set the container to start on system boot

pct [cr 100 local:vztmpl/distro-name.tar.zst --rootfs local-lvm:4 --onbootIdentify