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

Docker hosted redis losing data #1683

Closed
tushar69 opened this issue Nov 15, 2018 · 3 comments
Closed

Docker hosted redis losing data #1683

tushar69 opened this issue Nov 15, 2018 · 3 comments
Labels

Comments

@tushar69
Copy link

I am running standalone redis using docker-hub image with volume for persistent storage(--appendonly yes),however after a while all the keys from the redis are disappearing.

starting the docker by following command :

docker run -p 6379:6379 -v redis-vol:/data -d redis redis-server --appendonly yes

I haven't set the EXPIRE time for any of the keys. Can anyone please let me know what might be going wrong?

Thank you.

@pdkproitf
Copy link

I got the same problem. it seems the volume be clear and recreate every day.
I saw the volume->createAt day has changed.
Any though?

@thaJeztah
Copy link
Member

Perhaps related; https://github.com/docker-library/redis/blob/7be79f51e29a009fefdc218c8479d340b8c4a5e1/5.0/Dockerfile#L65-L67

(redis/docker-library-redis#4 (comment))

Note, however that this issue tracker is for feedback on Docker Hub itself, not the images that are hosted there. For feedback on / issues with the official images, refer to their readme on Docker Hub;

https://hub.docker.com/_/redis

Where to file issues:
https://github.com/docker-library/redis/issues

@github-actions
Copy link

github-actions bot commented May 8, 2021

We are clearing up our old issues and your ticket has been open for one year with no activity. Remove stale label or comment or this will be closed in 15 days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants