nixpkgs/pkgs/build-support/docker
Florian Klink f8031c60b7
dockerTools.fakeNss: add /etc/nsswitch.conf (#134958)
Apparently, a non-existent nsswitch.conf causes a very misleading host
resolution, differing from the defaults people are used to.

According to
https://github.com/golang/go/issues/22846#issuecomment-346377144, glibc
says the default is "dns [!UNAVAIL=return] files".

This means, `/etc/hosts` isn't really honored, causing all sorts of
unexpected behaviour.

Let's prevent this, and first ask `/etc/hosts` before querying DNS, like
we do on NixOS too.
2021-08-20 19:44:17 +02:00
..
default.nix dockerTools.fakeNss: add /etc/nsswitch.conf (#134958) 2021-08-20 19:44:17 +02:00
detjson.py
examples.nix treewide: runCommandNoCC -> runCommand 2021-08-15 17:36:41 +02:00
nix-prefetch-docker
nix-prefetch-docker.nix
stream_layered_image.py
tarsum.go
tarsum.nix tarsum: init 2021-08-05 08:54:41 +10:00