diff --git a/docs/tech_docs/proxmox.md b/docs/tech_docs/proxmox.md index 95bdafd..ecb1d74 100644 --- a/docs/tech_docs/proxmox.md +++ b/docs/tech_docs/proxmox.md @@ -13,11 +13,77 @@ When it comes to using LXC with Proxmox, there are a few additional consideratio 3. Proxmox-specific Container Management Commands - Introduce Proxmox-specific commands for managing containers, such as: - - `pct create` - Create a new container. - - `pct start` - Start a container. - - `pct stop` - Stop a container. - - `pct destroy` - Destroy a container. - - `pct list` - List containers. +To organize the Proxmox commands effectively, we can group them into categories based on their function. Here's a structured layout to help you easily navigate and understand the usage of each command: + +### 1. Container Lifecycle Management +Commands related to creating, managing, and destroying containers. +- **Create and Clone** + - `pct create [OPTIONS]` + - `pct clone [OPTIONS]` +- **Start and Stop** + - `pct start [OPTIONS]` + - `pct stop [OPTIONS]` + - `pct shutdown [OPTIONS]` + - `pct suspend ` + - `pct resume ` + - `pct reboot [OPTIONS]` +- **Removal and Cleanup** + - `pct destroy [OPTIONS]` + - `pct template ` + - `pct restore [OPTIONS]` + +### 2. Container Configuration and Information +Commands for configuring containers and fetching their information. +- **Configuration** + - `pct config [OPTIONS]` + - `pct set [OPTIONS]` +- **Information and Listing** + - `pct list` + - `pct status [OPTIONS]` + - `pct pending ` + +### 3. Snapshot Management +Commands related to managing snapshots of containers. +- `pct snapshot [OPTIONS]` +- `pct listsnapshot ` +- `pct delsnapshot [OPTIONS]` +- `pct rollback [OPTIONS]` + +### 4. Storage and Volume Management +Commands for managing the storage and volumes of containers. +- **Volume Operations** + - `pct move-volume [] [] [] [OPTIONS]` + - `pct resize [OPTIONS]` + - `pct pull [OPTIONS]` + - `pct push [OPTIONS]` +- **Filesystem Operations** + - `pct mount ` + - `pct unmount ` + - `pct fsck [OPTIONS]` + - `pct fstrim [OPTIONS]` + +### 5. Migration and Remote Management +Commands for moving containers and interacting remotely. +- **Migration** + - `pct migrate [OPTIONS]` + - `pct remote-migrate [] --target-bridge --target-storage [OPTIONS]` +- **Remote Interaction** + - `pct console [OPTIONS]` + - `pct enter [OPTIONS]` + - `pct exec [] [OPTIONS]` + +### 6. System Utilities and Miscellaneous +Commands related to system-level operations and utilities. +- `pct cpusets` +- `pct df ` +- `pct rescan [OPTIONS]` +- `pct unlock ` + +### 7. Help and Documentation +- `pct help [] [OPTIONS]` + +This categorization should help you find the appropriate command more quickly based on the task you need to perform with your Proxmox container. + - Explain the syntax and provide examples of using these commands. 4. Configuring Container Resources in Proxmox