log / tags / cli-tools/wget

1 posts tagged with "cli-tools/wget"

wget unable resolve host in docker apline container

Fix error "unable to resolve hostname" when building Docker image in WSL2 by using '-4' option with `wget` command to force IPv4. This error may be due to incorrect IPv6 configuration in Docker.

10 May 2024 1 min read