Docker Community Forums

Share and learn in the Docker community.

Can't resolve hostname docker-ce on RHEL

this is a fresh install of docker-ce from
yum-config-manager --add-repo
I’ve downloaded two images (centos and ubuntu), I can ping from images/containers but pinging doesn’t work. resolv.conf seems fine. I’ve set selinux to permissive (RHEL 8) and even flushed iptables for testing, no luck. Thanks for any help

Client: Docker Engine - Community
 Version:           19.03.8
 API version:       1.39 (downgraded from 1.40)
 Go version:        go1.12.17
 Git commit:        afacb8b
 Built:             Wed Mar 11 01:27:04 2020
 OS/Arch:           linux/amd64
 Experimental:      false

Server: Docker Engine - Community
  Version:          18.09.1
  API version:      1.39 (minimum version 1.12)
  Go version:       go1.10.6
  Git commit:       4c52b90
  Built:            Wed Jan  9 19:06:30 2019
  OS/Arch:          linux/amd64
  Experimental:     false

according to there’s no elegant way of fixing this other than:
sudo systemctl disable firewalld