feat: added lxc bits

This commit is contained in:
Simon Cornet 2025-05-30 19:41:01 +02:00
commit f5b249e20d

View file

@ -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 <id>
```
### Operate LCX
```shell
sudo pct stop <id>
sudo pct start <id>
sudo pct reboot <id>
sudo pct destroy <id>
sudo pct status <id>
sudo pct migrate <id> <target>
sudo pct snapshot <id> <snapname>
sudo pct rollback <id> <snapname>
```
## 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: