c992d819e30a60ca6a058ef5433af4bf2aab9cb9
When running a container in the host's network namespace, the container gets a copy of the host's resolv.conf (copied to `/etc/resolv.conf` inside the container). The current code always used the default (`/etc/resolv.conf`) path on the host, irregardless if `systemd-resolved` was used or not. This patch uses the correct file if `systemd-resolved` was detected to be running. Signed-off-by: Sebastiaan van Stijn <github@gone.nl> (cherry picked from commit 8364d1c9d590d4266871cd820b76ef12e2b934ed) Signed-off-by: Sebastiaan van Stijn <github@gone.nl> Upstream-commit: 04ae160eca4a8bc134ca9abafa044191b893080b Component: engine
Description
No description provided
Languages
Go
92%
Shell
5.5%
Dockerfile
1.1%
Go-Checksums
0.9%
Makefile
0.3%
Other
0.2%