Proxmox Virtual Environment (VE) 7.3.4 – how to delete a ‚locked‘ LXC Container

root@PVE-03:~# cat /etc/pve/.vmlist
{
„version“: 1,
„ids“: {
„201“: { „node“: „PVE-03“, „type“: „qemu“, „version“: 5 },
„103“: { „node“: „PVE-03“, „type“: „lxc“, „version“: 8 },
„108“: { „node“: „PVE-03“, „type“: „qemu“, „version“: 6 },
„302“: { „node“: „PVE-03“, „type“: „qemu“, „version“: 7 },
„100“: { „node“: „PVE-03“, „type“: „qemu“, „version“: 3 },
„301“: { „node“: „PVE-03“, „type“: „qemu“, „version“: 2 },
„106“: { „node“: „PVE-03“, „type“: „qemu“, „version“: 1 },
„300“: { „node“: „PVE-03“, „type“: „qemu“, „version“: 4 }}
}
root@PVE-03:~#

root@PVE-03:~# pct unlock 103


root@PVE-03:~#
root@PVE-03:~# pct destroy 103

root@PVE-03:~#
root@PVE-03:~# cat /etc/pve/.vmlist
{
„version“: 1,
„ids“: {
„201“: { „node“: „PVE-03“, „type“: „qemu“, „version“: 5 },
„108“: { „node“: „PVE-03“, „type“: „qemu“, „version“: 6 },
„302“: { „node“: „PVE-03“, „type“: „qemu“, „version“: 7 },
„100“: { „node“: „PVE-03“, „type“: „qemu“, „version“: 3 },
„301“: { „node“: „PVE-03“, „type“: „qemu“, „version“: 2 },
„106“: { „node“: „PVE-03“, „type“: „qemu“, „version“: 1 },
„300“: { „node“: „PVE-03“, „type“: „qemu“, „version“: 4 }}
}
root@PVE-03:~# 

Leave a Reply

You must be logged in to post a comment.