init
This commit is contained in:
parent
bd2081a70f
commit
33b90b45ef
1 changed files with 17 additions and 0 deletions
17
HowtoLXD.page
Normal file
17
HowtoLXD.page
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
|
||||||
|
|
||||||
|
Some commands:
|
||||||
|
|
||||||
|
```
|
||||||
|
lxc image alias list images:
|
||||||
|
lxc info <name>
|
||||||
|
lxc config edit <name>
|
||||||
|
lxc config sonw <name>
|
||||||
|
lxc exec <name> bash
|
||||||
|
lxc config set <name> limits.memory 512MB
|
||||||
|
lxc config set <name> limits.cpu 2
|
||||||
|
lxc config device set <name> root size 20GB
|
||||||
|
lxc launch images:debian/stretch/amd64 <name>
|
||||||
|
lxc list
|
||||||
|
lxc storage volume list <storagename>
|
||||||
|
```
|
Loading…
Reference in a new issue