qdm12 / dns

Docker DNS server on steroids to access DNS-over-TLS from Cloudflare, Google, Quad9, Quadrant or CleanBrowsing
https://hub.docker.com/r/qmcgaw/cloudflare-dns-server
MIT License
226 stars 38 forks source link

Cannot start v2-beta container: invalid value for max entries of the LRU cache #126

Closed Arderos closed 1 year ago

Arderos commented 1 year ago

I'm trying to start the latest v2.0.0-beta container and it fails with: ERROR reading environment variables: cache settings: LRU max entries: invalid value for max entries of the LRU cache: cannot be zero The ENV variables are not set explicitly so should be by default - lru and 10000, which I can confirm by doing docker inspect:

> sudo docker inspect dns | grep CACHE
                "CACHE_TYPE=lru",
                "CACHE_LRU_MAX_ENTRIES=10000",

I tried to set them explicitly to no avail

qdm12 commented 1 year ago

Are you sure? What version are you running? Maybe repull the image? Running docker run -it --rm qmcgaw/dns:v2.0.0-beta works for me without issue 🤔

Arderos commented 1 year ago

Are you sure? What version are you running? Maybe repull the image? Running docker run -it --rm qmcgaw/dns:v2.0.0-beta works for me without issue 🤔

This is really quite strange. Complete recreation of the container helped. Thanks! :)