Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
userdoc:guest_lxc_container [2020/05/16 15:55] abelbeck [Command via a Container] |
userdoc:guest_lxc_container [2020/05/24 17:15] mkeuter [Optional] |
||
---|---|---|---|
Line 130: | Line 130: | ||
===== Destroy All Containers ===== | ===== Destroy All Containers ===== | ||
- | If you want disable all LXC container support, or start fresh, from the CLI: | + | If you want to disable all LXC container support, or start fresh, from the CLI: |
!!Warning -> | !!Warning -> | ||
Line 163: | Line 163: | ||
Pi-hole is a perfect example to use with AstLinux within a LXC. Begin as with the "Quick Start Guide" but use the name '' | Pi-hole is a perfect example to use with AstLinux within a LXC. Begin as with the "Quick Start Guide" but use the name '' | ||
- | __Enable Pi-hole LXC:__ | + | First, it is assumed the '' |
- | \\ | + | |
- | + | ||
- | * Define '' | + | |
- | * Assign | + | |
- | * Reboot | + | |
Then from the CLI: | Then from the CLI: | ||
Line 282: | Line 277: | ||
lxc.cgroup.memory.limit_in_bytes = 512M | lxc.cgroup.memory.limit_in_bytes = 512M | ||
# | # | ||
- | lxc.cgroup.cpuset.cpus = 1 | + | # Define which actual cores (e.g. 0 to 3) are allowed to use - comma separated (not the count of cores!) |
+ | lxc.cgroup.cpuset.cpus = 1,3 | ||
</ | </ | ||
\\ | \\ |