Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pct, pveversion: add page #13975

Merged
merged 28 commits into from
Jan 1, 2025
Merged
Show file tree
Hide file tree
Changes from 22 commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions pages/linux/pct.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# pct

> Manage LXC containers in Proxmox.
> More information: <https://pve.proxmox.com/pve-docs/pct.1.html>.

- List all containers:

`pct list`

- Start/Stop/Reboot a specific container:

`pct {{start|stop|reboot}} {{100}}`

- Access a specific container's shell:

`pct enter {{100}}`

- Create a container from template:

`pct create {{100}} {{/var/lib/vz/template/cache/distro-name.tar.zst}} -hostname {{hostname}} -password {{password}} --rootfs {{local-lvm}} --on-boot`

- Resize the container's disk to 20G:

`pct resize {{100}} {{rootfs|mp0...mp255}} {{20G}}`
Managor marked this conversation as resolved.
Show resolved Hide resolved

- Show the configuration of a container, specifying its ID:

`pct config {{100}}`

- Snapshot a specific container with description:

`pct snapshot {{100}} {{my-snapshot}} --description {{My snapshot description}}`

- Destroy a container and remove all related resources:

`pct destroy {{100}} --purge`
8 changes: 8 additions & 0 deletions pages/linux/pvesh.md
Managor marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# pvesh

> Interface with the Proxmox VE API.
Managor marked this conversation as resolved.
Show resolved Hide resolved
> More information: <https://pve.proxmox.com/pve-docs/pvesh.1.html>.

- Display version:

`pvesh get /version`
8 changes: 8 additions & 0 deletions pages/linux/pvesm.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# pvesm

> Proxmox VE Storage Manager.
Managor marked this conversation as resolved.
Show resolved Hide resolved
> More information: <https://pve.proxmox.com/pve-docs/pvesh.1.html>.

- List storage pools:

`pvesm status`
12 changes: 12 additions & 0 deletions pages/linux/pveversion.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# pveversion

> Proxmox VE version info.
Managor marked this conversation as resolved.
Show resolved Hide resolved
> More information: <https://pve.proxmox.com/pve-docs/>.
Managor marked this conversation as resolved.
Show resolved Hide resolved

- Print system version:

`pveversion`

- Print Proxmox subpackage versions:

`pveversion {{-v|--version}}`
Loading