Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
userdoc:guest_lxc_container [2020/05/17 09:04]
abelbeck [Pi-hole Container Example]
userdoc:guest_lxc_container [2020/05/30 10:45] (current)
abelbeck [Linux Container Config]
Line 79: Line 79:
 # Container specific configuration # Container specific configuration
 lxc.tty.max = 0 lxc.tty.max = 0
 +#​lxc.cgroup.memory.limit_in_bytes = 1024M
 +#​lxc.cgroup.cpuset.cpus = 1,3
 lxc.rootfs.path = dir:/​var/​lib/​lxc/​debian10/​rootfs lxc.rootfs.path = dir:/​var/​lib/​lxc/​debian10/​rootfs
 lxc.uts.name = debian10 lxc.uts.name = debian10
Line 277: Line 279:
 lxc.cgroup.memory.limit_in_bytes = 512M lxc.cgroup.memory.limit_in_bytes = 512M
 #​lxc.cgroup.cpu.shares = 256 #​lxc.cgroup.cpu.shares = 256
-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
 </​code>​ </​code>​
  
 \\  \\