docker: use docker as default backend for containers. disable iptables
This commit is contained in:
parent
17d2e10345
commit
9aeacafbb2
@ -5,13 +5,19 @@
|
|||||||
interface = "docker0";
|
interface = "docker0";
|
||||||
net = "172.17.0.0/16";
|
net = "172.17.0.0/16";
|
||||||
};
|
};
|
||||||
|
|
||||||
virtualisation.docker = {
|
virtualisation = {
|
||||||
enable = true;
|
oci-containers.backend = "docker";
|
||||||
extraOptions = ''
|
|
||||||
--dns 127.0.0.1 --dns ${config.architect.networks.lan.devices.architect.address} --data-root /docker
|
docker = {
|
||||||
'';
|
enable = true;
|
||||||
enableOnBoot = false;
|
extraOptions = ''
|
||||||
|
--dns 127.0.0.1 --dns ${config.architect.networks.lan.devices.architect.address} --data-root /docker
|
||||||
|
'';
|
||||||
|
enableOnBoot = false;
|
||||||
|
daemon.settings.iptables = false;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
users.users.giulio.extraGroups = [ "docker" ];
|
users.users.giulio.extraGroups = [ "docker" ];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user