Skip to content

Commit 4331653

Browse files
authored
pct-exec: add page (#17572)
1 parent e86b65b commit 4331653

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

pages/linux/pct-exec.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# pct exec
2+
3+
> Launch a command inside a specified container.
4+
> More information: <https://pve.proxmox.com/pve-docs/pct.1.html>.
5+
6+
- Launch a command in a container:
7+
8+
`pct {{[ex|exec]}} {{100}} {{command}}`
9+
10+
- Open a bash shell in a container:
11+
12+
`pct {{[ex|exec]}} {{100}} bash`
13+
14+
- Pass arguments to the command:
15+
16+
`pct {{[ex|exec]}} {{100}} -- {{command}} {{arguments}}`

0 commit comments

Comments
 (0)