LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

pct-stop

abruptly stops a Proxmox LXC container

TLDR

Stop a container immediately
$ pct stop 100
copy
Abort active shutdown tasks before stopping
$ pct stop 100 --overrule-shutdown
copy

SYNOPSIS

pct stop vmid [OPTIONS]

DESCRIPTION

pct stop abruptly stops all processes running in a Proxmox VE LXC container. Unlike pct shutdown, which requests a clean power-off, this is a hard stop comparable to pulling the plug: processes do not get a normal chance to flush data or exit cleanly.Use pct shutdown when you want a graceful stop, and pct stop when the container is unresponsive or you need an immediate halt.

PARAMETERS

vmid

The numeric ID of the container (100–999999999)
--overrule-shutdown
Try to abort active vzshutdown tasks before stopping (default off)
--skiplock
Ignore locks; only root is allowed to use this option

CAVEATS

A hard stop can leave applications with unsaved data or inconsistent files. Prefer pct shutdown for normal operations. Locks from concurrent management tasks may block the command unless --skiplock is used carefully by root.

HISTORY

pct stop is part of the Proxmox VE pct tool for managing LXC containers.

SEE ALSO

RESOURCES

Copied to clipboard
Kai