DNS resolution in docker containers
问题 [ environment ] CentOS 7 Docker 19.03.12, build 48a66213fe I have a failing cerbot (let's encrypt client) inside a docker container. It looks like acme-v02.api.letsencrypt.org is not resolvable from the container but is resolvable from the host (the most probable cause). I am used to the fact that containers inherit from the host's DNS parameters but, in the case of AWS EC2 instances, there seems to be some subtilities DNS Manual setting [ec2-user@ip-172-31-32-243 ~]$ cat /etc/resolv.conf #