Introducing Redis Overflow - Build Stackoverflow API's using node.js and Redis.

Installing RDBTools on Docker

In this walkthrough, we will install RDBTools on Docker. Note that this installation is for developer machines. We have a separate guide for installing Rdbtools 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 Rdbtools Docker Image

Next, we will run the Rdbtools container. The easiest way is to run the following command:

docker run -v rdbtools:/db -p 8001:8001 rdbtools/rdbtools:v0.9.23.1

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 will make 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 a message “Running RDBtools on localhost:8001” in the terminal.




Next: Activating RDBTools