docker network not working with fedora 32

since an update to fedora32, docker is not able to resolve hostnames. So it is not possible to install new packages or go get something.

tl;dr

this is a temporary workaround until an official docker build for fedora is released

docker build --network=host .
docker run --network=host imageid

and for security reasons, of course for local development only, as this flag opens the whole network to the image (ignoring explicit port mappings too)

https://ask.fedoraproject.org/t/dns-resolution-errors-with-docker-in-fedora-32/6385/3

Last posts

Tags