From f5b249e20dcc93c40cf91c924ca585cd70d7ef67 Mon Sep 17 00:00:00 2001 From: Simon Cornet Date: Fri, 30 May 2025 19:41:01 +0200 Subject: [PATCH] feat: added lxc bits --- docs/proxmox/lxc.md | 30 +++++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git a/docs/proxmox/lxc.md b/docs/proxmox/lxc.md index ef94e8c..9c9c086 100644 --- a/docs/proxmox/lxc.md +++ b/docs/proxmox/lxc.md @@ -1,12 +1,36 @@ # LXC -## Show running LXC +## Interaction + +### Show running LXC ```shell sudo pct list ``` -## GPU access +### Enter running LXC + +```shell +sudo pct enter +``` + +### Operate LCX +```shell +sudo pct stop +sudo pct start +sudo pct reboot +sudo pct destroy + +sudo pct status +sudo pct migrate + +sudo pct snapshot +sudo pct rollback +``` + +## Configuration + +### GPU access Add the following to the config: @@ -19,7 +43,7 @@ lxc.mount.entry: /dev/fb0 dev/fb0 none bind,optional,create=file ``` -## Add mount point +### Add mount point Add the following to the config: