Cant ping out from within docker container

Docker version: 1.13.1
Host OS Linux Rhel 7

Iv’e found that I can’t ping outside nodes from within the docker container. The only way I can get around it is to restart the docker daemon, and then it will work for a day or two until I reboot the machine, then the problem appears again until I restart the daemon. I’m not running firewalld. Any help would be appreciated, thanks.

Although I don’t know if that is the reason, but have you considered updating Docker? 1.13.1 is extremely old (more than 6 years) and I wouldn’t recommend using that and it is definitely not supported anymore.

Thanks for the tip. A Docker update is definitely on the “Horizon”, pun intended, as I’m sure there will be a lot of good bug fixes and improvements. Strangely, this looks like it might be an selinux issue. Strange, because I’m running in permissive mode (which should only log errors) but turning selinux completely off (disabled) allows me to ping external nodes again.