LinuxCommandLibrary

pct-console

attaches to a container's TTY console, providing direct terminal access

TLDR

Attach to container console

$ pct console 100
copy
Detach from console
$ Ctrl+a q
copy

SYNOPSIS

pct console vmid

DESCRIPTION

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.

PARAMETERS

vmid

The numeric ID of the container

CAVEATS

Use Ctrl+a followed by q to detach from the console without terminating the session. The container must be running to attach to its console. For command execution without interactive terminal, use pct exec instead.

HISTORY

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

SEE ALSO

pct(1), pct-enter(1), pct-exec(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community