← 返回命令列表

Linux command

pct-console 命令

文本

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

常用示例

Attach

pct console [100]

说明

pct console attaches to a container's TTY console, providing direct terminal access. This is useful for accessing containers that don't have network connectivity or for troubleshooting boot issues.

参数

vmid
The numeric ID of the container

FAQ

What is the pct-console command used for?

pct console attaches to a container's TTY console, providing direct terminal access. This is useful for accessing containers that don't have network connectivity or for troubleshooting boot issues.

How do I run a basic pct-console example?

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

What does vmid do in pct-console?

The numeric ID of the container