docker-low
This commit is contained in:
@@ -38,6 +38,13 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
systemd.slices."docker-low.slice" = {
|
||||||
|
sliceConfig = {
|
||||||
|
CPUWeight = 1;
|
||||||
|
IOWeight = 1;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
firefox = {
|
firefox = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@@ -141,6 +148,9 @@ in
|
|||||||
daemon.settings = {
|
daemon.settings = {
|
||||||
storage-driver = "btrfs";
|
storage-driver = "btrfs";
|
||||||
registry-mirrors = [ "https://mirror.gcr.io" ];
|
registry-mirrors = [ "https://mirror.gcr.io" ];
|
||||||
|
|
||||||
|
exec-opts = [ "native.cgroupdriver=systemd" ];
|
||||||
|
cgroup-parent = "docker-low.slice";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user