LinuxCommandLibrary

pct-list

TLDR

List all containers

$ pct list
copy
Show container status
$ pct status [VMID]
copy
Show container config
$ pct config [VMID]
copy

SYNOPSIS

pct list [options]

DESCRIPTION

pct list displays all LXC containers on a Proxmox VE host. It shows container ID, status, lock state, and name.
Part of the Proxmox container management toolkit.

EXAMPLE OUTPUT

$ VMID       Status     Lock         Name
100        running                 webserver
101        stopped                 database
102        running                 mailserver
copy

RELATED COMMANDS

$ # List containers
pct list

# Get status
pct status 100

# Show config
pct config 100

# Start container
pct start 100

# Stop container
pct stop 100
copy

CAVEATS

Shows local node only. Use pvesh for cluster-wide listing. Requires Proxmox VE.

HISTORY

The pct command suite is part of Proxmox VE, providing comprehensive LXC container management since Proxmox adopted LXC.

SEE ALSO

pct(1), pct-enter(1), pct-restore(1), lxc-ls(1)

Copied to clipboard