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: