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 21:32] abelbeck [Destroy All Containers] |
userdoc:guest_lxc_container [2020/05/31 15:08] abelbeck [Command via a Container] |
||
---|---|---|---|
Line 79: | Line 79: | ||
# Container specific configuration | # Container specific configuration | ||
lxc.tty.max = 0 | lxc.tty.max = 0 | ||
+ | # | ||
+ | # | ||
lxc.rootfs.path = dir:/ | lxc.rootfs.path = dir:/ | ||
lxc.uts.name = debian10 | lxc.uts.name = debian10 | ||
Line 163: | Line 165: | ||
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 228: | Line 225: | ||
lxc-attach lynx | lxc-attach lynx | ||
+ | apt update | ||
apt install lynx ca-certificates fping | apt install lynx ca-certificates fping | ||
exit | exit | ||
Line 282: | Line 280: | ||
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 (it's NOT the count of cores!) |
+ | lxc.cgroup.cpuset.cpus = 1,3 | ||
</ | </ | ||
\\ | \\ |