when running wireguard on a docker build host with a wg peer configured as the default gateway ( AllowedIPs = 0.0.0.0/0 )some (not all) networking connections during a docker build fail. this occurs with pip installs and curl in some cases
an example curl error inside the container is:
OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to
repo.saltstack.com:443
I believe this only happens with some specific hosts
wget also fails, for both http and https , and gives the following output inside the container:
HTTP request sent, awaiting response...
(Notice no "HTTP request sent" on the https request)
these same requests succeed on the same host when not run in the container.
these same requests succeed in the same container on the same host when wireguard is down
does anyone have a suggestion for further debugging I could do to understand whats happening?