Skip to content

Commit 0b79244

Browse files
committed
Add commands
1 parent 9ff716e commit 0b79244

2 files changed

Lines changed: 42 additions & 0 deletions

File tree

assets/commands/index.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5323,6 +5323,7 @@ pct-list.md
53235323
pct-mount.md
53245324
pct-move-volume.md
53255325
pct-move_volume.md
5326+
pct-reboot.md
53265327
pct-resize.md
53275328
pct-restore.md
53285329
pct-set.md

assets/commands/pct-reboot.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# TAGLINE
2+
3+
reboots a Proxmox LXC container
4+
5+
# TLDR
6+
7+
**Reboot** a container
8+
9+
```pct reboot 100```
10+
11+
Reboot with a **timeout** of 60 seconds
12+
13+
```pct reboot 100 --timeout 60```
14+
15+
# SYNOPSIS
16+
17+
**pct reboot** _vmid_ [_OPTIONS_]
18+
19+
# DESCRIPTION
20+
21+
**pct reboot** shuts down and restarts a Proxmox LXC container. The command performs a clean reboot by first requesting the container to shut down gracefully, then starting it again. If the container does not stop within the timeout period, the operation fails.
22+
23+
# PARAMETERS
24+
25+
**vmid**
26+
> The numeric ID of the container (100 or higher)
27+
28+
**--timeout** _seconds_
29+
> Wait this many seconds for the shutdown before failing. The default is 60 seconds.
30+
31+
# CAVEATS
32+
33+
The container must be running for a reboot to succeed. If the container has processes that block shutdown, the reboot may time out. Unlike a hard reset, this performs a graceful shutdown first, so unresponsive containers may need to be stopped and started manually instead.
34+
35+
# HISTORY
36+
37+
**pct reboot** is part of the **Proxmox VE** virtualization platform for managing LXC containers.
38+
39+
# SEE ALSO
40+
41+
[pct](/man/pct)(1), [pct-status](/man/pct-status)(1)

0 commit comments

Comments
 (0)