redis Getting started with redis Install Redis by using Docker


It is simple to start using Redis using docker:

docker pull redis
docker run -p 6379:6379 --rm --name redis redis

Now you have running instance on port 6397

Attention: All data will be deleted, when Redis will be stopped.

To connect the redis-cli, start another docker:

docker run -it --link redis:redis --rm redis redis-cli -h redis -p 6379

Now you can play around with your redis docker.