This tutorial shows how to install RedisInsight on Docker. Note that this installation is for developer machines. We have a separate guide for installing RedisInsight on AWS.

I. Install Docker

The first step is to install docker for your operating system. You should be able to run the docker version command in a terminal window without any errors.

Note -
On windows and Mac, please install docker version 18.03 or higher. You can docker version to find out your docker version.

II. Run RedisInsight Docker Image

Next, run the RedisInsight container. The easiest way is to run the following command:

docker run -v redisinsight:/db -p 8001:8001 redislabs/redisinsight

and then point your browser to http://localhost:8001.

In addition, you can add some additional flags to the docker run command:

  1. You can add the -it flag to see the logs and view the progress
  2. On Linux, you can add --network host. This makes it easy to work with redis running on your local machine.
  3. To analyze RDB Files stored in S3, you can add the access key and secret access key as environment variables using the -e flag. For example: -e AWS_ACCESS_KEY=<aws access key> -e AWS_SECRET_KEY=<aws secret access key>

If everything worked, you should see the following output in the terminal:

Starting webserver...
Visit http://0.0.0.0:8001 in your web browser.
Press CTRL-C to exit.