- Yes,
ERL_MAX_PORTSis the same as+Q, use that - The kernel params are probably different running in a container
- Here is an example of running a local caching DNS on a server: Running a local caching DNS for your app
ERL_MAX_PORTS is the same as +Q, use that