Could not resolve host: github.com for SamSaffron/pups.git

在 CentOS 8 上,此错误是由于 RHEL 7 的 Docker RPM 包(目前尚无 RHEL 8 版本)无法识别基于 nftables 的新防火墙所致。必须手动为 docker0 接口配置地址伪装(masquerading)。

https://serverfault.com/questions/987686/no-network-connectivity-to-from-docker-ce-container-on-centos-8