install redis docker on windows 10 and run

I am using docker desktop on windows 10 machine. I used the following commands to run Redis and used them in my application for Redis connection.

docker pull redis
docker run -p 6379:6379 --name some-redis -d redis

Following the code will help you. If Redis running properly.

you can go into Redis docker-machine.

docker exec -it some-redis /bin/bash

redis-cli ping

Published by

Purab

I am Purab from India, Software development is my profession and teaching is my passion. Programmers blog dedicated to the JAVA, Python, PHP, DevOps and Opensource Frameworks. Purab's Github Repo Youtube Chanel Video Tutorials Connect to on LinkedIn

Leave a Reply

Your email address will not be published.