Skip to content

Starting redis locally

Course: Redis (Pub subs and Messaging queues) - chapter 3

Let’s start redis locally and start using it as a DB

docker run --name my-redis -d -p 6379:6379 redis

Connecting to your container

docker exec -it container_id /bin/bash

Connecting to the redis cli

redis-cli