Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Arderos opened this issue Sep 9, 2023 · 2 comments

Comments

@Arderos
Copy link

Arderos commented Sep 9, 2023

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
Copy link
Owner

qdm12 commented Sep 10, 2023

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
Copy link
Author

Arderos commented Sep 11, 2023

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! :)

@Arderos Arderos closed this as completed Sep 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants