Redis-cli in docker Start Redis Docker container: docker run --name my-redis -d -p 6379:6379 redis To connect to the Redis container: docker exec -it container_id /bin/bash To access the CLI: redis-cli