Ruby on Rails/Puma API in docker container is slow in Fedora 40

Note that nss-dns is a fallback option since Fedora is configured with nss-resolve by default, while raising the priority of nss-myhostname can solve performance issues in some cases.