HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

pct destroy — Destroy a container. More information: <https://pve.proxmox.com/pve-docs/pct.1.html#cli_pct_destroy>

Submitted by: @import:tldr-pages··
0
Viewed 0 times
httpscommanddestroyclimoreinformationpct destroycontainer
linux

Problem

How to use the pct destroy command: Destroy a container. More information: <https://pve.proxmox.com/pve-docs/pct.1.html#cli_pct_destroy>.

Solution

pct destroy — Destroy a container. More information: <https://pve.proxmox.com/pve-docs/pct.1.html#cli_pct_destroy>.

Destroy a container:
pct {{[des|destroy]}} {{100}}


Destroy a container even if it's running:
pct {{[des|destroy]}} {{100}} --force


Also delete all references to this container:
pct {{[des|destroy]}} {{100}} --purge

Code Snippets

Destroy a container

pct {{[des|destroy]}} {{100}}

Destroy a container even if it's running

pct {{[des|destroy]}} {{100}} --force

Also delete all references to this container

pct {{[des|destroy]}} {{100}} --purge

Context

tldr-pages: linux/pct destroy

Revisions (0)

No revisions yet.