Run Redis Community Edition on Windows using Docker
How to run Redis Community Edition on Windows
Redis Community Edition |
---|
Run Redis Community Edition (CE) on Windows using Docker
To install Redis CE on Windows, you will need to have Docker installed. When Docker is up and running, open Windows PowerShell and follow the instructions described in Run Redis CE on Docker. Then, use Docker to connect with redis-cli
as explained in that topic.
If you attempt to use Windows Subsystem for Linux (WSL) or Ubuntu for Windows to follow Linux instructions, you will get a systemd
error telling you System has not been booted with systemd as init system (PID 1). Can't operate.
Do not fret. Just use Docker.
systemd
is a suite of basic building blocks for a Linux system. For more information about its function, see System and Service Manager. This becomes an issue due to the lack of support for Linux workflows on WSL. But, you can test the instructions listed in Systemd support is now available in WSL!. Let us know how that worked for you.