How can I persist db data in docker container? #1127
Unanswered
ShunyiChen
asked this question in
Q&A
Replies: 1 comment 3 replies
-
@ShunyiChen did you find a solution for this? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello Team,
In my Windows Docker Desktop environment, I try to start dragonfly and persist data in this command:
docker run -d -p 6379:6379 --name dragonflydb -v J:/dragonflydb/data:/data --ulimit memlock=-1 docker.dragonflydb.io/dragonflydb/dragonfly
, use the -v Docker option to map it to my host folder - J:/dragonflydb/data, But when I restarted the container, the key-value pairs data that I saved earlier was gone, the container logs are attached hereI'm not sure where I went wrong, can you help me with it? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions