fix: improved docker config
This commit is contained in:
parent
904e298f33
commit
3bd6a6bf76
1 changed files with 4 additions and 3 deletions
|
@ -6,8 +6,9 @@
|
|||
# docker for whatever reason decides not to use system resolver if we have 127.0.0.1 in resolv.conf
|
||||
# and fallbacks to google dns (src: https://github.com/moby/moby/issues/6388#issuecomment-46343580)
|
||||
# but we want it to use it. so pin the cidr used by docker and force the gateway as the default dns :D
|
||||
fixed-cidr = "172.17.0.1/16";
|
||||
default-gateway = "172.17.0.1";
|
||||
bip = "172.17.0.1/16";
|
||||
# fixed-cidr = "172.17.0.1/16";
|
||||
# default-gateway = "172.17.0.1";
|
||||
dns = ["172.17.0.1"];
|
||||
};
|
||||
virtualisation.oci-containers.backend = "docker";
|
||||
|
|
Loading…
Reference in a new issue