Common Problems When Using Alpine Images
· ☕ 1 min read
1. DNS Request Timeout Cause: alpine uses the musl library, which has some limitations in DNS resolution [1]
Solution:
Do not use an apline image, and add the options single-request-reopen setting to the container’s resolv.conf file. This is because the single-request-reopen option only takes effect for the glibc library, while apline images use the musl library.