LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

pct-config

displays the configuration of a Proxmox LXC container

TLDR

Show container configuration
$ pct config 100
copy
Show current running config
$ pct config 100 --current
copy
Show snapshot configuration
$ pct config 100 --snapshot snapshot_name
copy

SYNOPSIS

pct config [OPTIONS] vmid

DESCRIPTION

pct config displays the configuration of a Proxmox LXC container. By default, it shows the saved configuration including pending changes that will be applied on next start.

PARAMETERS

vmid

The unique numeric ID of the container (integer, 100 to 999999999)
--current
Get current values instead of pending values (boolean, default 0)
--snapshot name
Fetch configuration values from a given snapshot

CAVEATS

The default output shows saved configuration with pending changes. Use --current to see only the active runtime configuration.

HISTORY

pct config is part of the Proxmox VE virtualization platform for managing LXC containers.

SEE ALSO

pct(1), pct-set(1), pct-list(1), pct-status(1)

Copied to clipboard
Kai