I know that Redis is not supported for Windows (at least newer versions).
My question is can I somehow use official builds of Redis on Windows using a Docker container? since Docker suppose to provide a compatible predictable environment for every platform
2
Answers
In short, you can run this
docker run --name redis -d -p 6379:6379 redis:6.0
Your applications will be able to access Redis on
localhost:6379
Check this post, if you want a detailed explanation on installing a persisting redis deployment using Volume mounts. link
For more info, check the official docs link
You can either use redis via the WSL or use this image built natively for docker Windows.
There is the latest version officially ported by Microsoft as well as the latest versions ported by the community.
Example of a docker command :