Linux command
pct-config 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Show
pct config 100
Example
pct config 100 --current
Example
pct config 100 --snapshot snapshot_name
说明
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.
参数
- 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
FAQ
What is the pct-config command used for?
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.
How do I run a basic pct-config example?
Run `pct config 100` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does vmid do in pct-config?
The unique numeric ID of the container (integer, 100 to 999999999)