pct-exec
TLDR
Execute command in container
SYNOPSIS
pct exec vmid [--] command [arguments...]
DESCRIPTION
pct exec launches a command inside a specified Proxmox LXC container. It provides direct command execution without needing to enter the container interactively.
PARAMETERS
vmid
The numeric ID of the containercommand
The command to execute inside the container--
Separator to pass arguments to the command
CAVEATS
The container must be running to execute commands. The command runs as root inside the container. For interactive sessions, use pct enter instead.
HISTORY
pct exec is part of the Proxmox VE virtualization platform for managing LXC containers.
