pct Verified current stable Not installed?

Pct / Pass Arguments To Command In Container

Pass Arguments To Command In Container

Pct command syntax to pass arguments to command in container. Copyable examples, output expectations, and common mistakes.

$
Terminal
pct ex <100> -- <command> <arguments>

Command Breakdown

What each part is doing

pct
Base Command
The executable that performs this operation. Here it runs Pct before the shell applies any redirect operators.
ex
ex|exec
The value supplied for ex|exec.
<100>
100
The value supplied for 100.
<command>
command
The value supplied for command.
<arguments>
arguments
The value supplied for arguments.
--
Command Option
Tool-specific option used by this command invocation.

Alternative Approaches

Comparable commands in other tools

Alternative tools that share the "manage-containers" operation intent.