- Images
- Proxmox Container Toolkit
- share host folder
- tasks
- host mount CT disk
- rename container
- Unprivileged
Images¶
pveam update # daily through the `pve-daily-update` timer
pveam available --section system
pveam list local
pveam download local {}.tar.gz # WebUI `CT Templates`: click `Templates` button
Proxmox Container Toolkit¶
pct list
pct exec 201 -- bash -lc "volta list all"
# `-l` = login shell, loads `.profile`/`.bash_profile`
share host folder¶
https://github.com/fzinfz/scripts/blob/master/pve_ct/mount.sh
pct set 201 -mp1 /data,mp=/data
tasks¶
host mount CT disk¶
lvscan | grep 200
mount /dev/pve/vm-200-disk-1 /mp
rename container¶
Web: DNS - Hostname
cat /etc/pve/lxc/200.conf | grep hostname # host
Unprivileged¶
apt install acl
setfacl -m u:100000:rwx /host/folder
no direct way to convert unprivileged to privileged - backup -> restore , Uncheck the “Unprivileged container” checkbox - vzdump 100 –dumpdir /dump && pct restore … –unprivileged 0