This tutorial shows how to install RedisInsight on Docker so you can use RedisInsight in development. See a separate guide for installing RedisInsight on AWS.

Install Docker

The first step is to install Docker for your operating system. On Windows and Mac, install Docker version 18.03 or higher. To check which Docker version you have, run docker version.

Run RedisInsight Docker image

Next, run the RedisInsight container.

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

Then, point your browser to http://localhost:8001.

RedisInsight also provides a health check endpoint at http://localhost:8001/healthcheck/ to monitor the health of the running container.

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.

Resolving permission errors

If the previous command returns a permissions error, ensure the directory you pass as a volume to the container has necessary permissions for the container to access it. Run the following command:

chown -R 1001 redisinsight

Adding flags to the run command

You can use additional flags with 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>