← 返回命令列表

Linux command

pct-template 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Convert

pct template 100

说明

pct template converts a Proxmox LXC container into a template. Templates are read-only base images that can be used to quickly create new containers through cloning.

参数

vmid
The numeric ID of the container to convert

FAQ

What is the pct-template command used for?

pct template converts a Proxmox LXC container into a template. Templates are read-only base images that can be used to quickly create new containers through cloning.

How do I run a basic pct-template example?

Run `pct template 100` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does vmid do in pct-template?

The numeric ID of the container to convert