Hide Forgot
Description of problem: In Fedora 24 after installing and enabling docker, docker container can't resolve public DNS records until you run an "iptables -F" Version-Release number of selected component (if applicable): docker-1.10.3-54.gite03ddb8.fc24.x86_64 How reproducible: Always Steps to Reproduce: 1. Install and enable docker 2. Run "docker run -it centos curl redhat.com" Actual results: # docker run -it centos curl redhat.com curl: (6) Could not resolve host: redhat.com; Unknown error Expected results: dns to be resolved Additional info: Running "iptables -F" solve the issue. I trying adding the docker0 interface to FedoraWorkstation and/or "trusted" firewalld zones but it did not make any difference.
My initial problem was using "oc cluster up" and trying to build some templates, obviously that also fails as reported here: https://github.com/openshift/origin/issues/10139 But I think that the problem should be solved by amending firewalld rules, not sure if the component I should select is docker or firewalld though.
This seems like a configuration issue. We have not had other reports of problems with docker on Fedora 24
I(In reply to Daniel Walsh from comment #2) > This seems like a configuration issue. We have not had other reports of > problems with docker on Fedora 24 Yes, testing in a fresh environment it works fine, so I should check my networkmanager/dnsmasq/firewalld configuration.