mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-16 16:55:45 +02:00
17 lines
368 B
Markdown
17 lines
368 B
Markdown
![]() |
# pct exec
|
||
|
|
||
|
> Launch a command inside a specified container.
|
||
|
> More information: <https://pve.proxmox.com/pve-docs/pct.1.html>.
|
||
|
|
||
|
- Launch a command in a container:
|
||
|
|
||
|
`pct {{[ex|exec]}} {{100}} {{command}}`
|
||
|
|
||
|
- Open a bash shell in a container:
|
||
|
|
||
|
`pct {{[ex|exec]}} {{100}} bash`
|
||
|
|
||
|
- Pass arguments to the command:
|
||
|
|
||
|
`pct {{[ex|exec]}} {{100}} -- {{command}} {{arguments}}`
|