简介
官⽅可视化⼯具2.0
Docker安装
Installing RedisInsight on Docker
This tutorial shows how to install RedisInsight on so you can use RedisInsight in development. We have a separate guide for installing .
Install Docker
The first step is to . Run the docker version command in a terminal window to make sure that docker is installed correctly.Note:
On Windows and Mac, install docker version 18.03 or higher. You can run docker version to find out your docker version.
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:latest
说明Note:
Make sure the directory you pass as a volume to the container has necessary permissions for the container to access it. For example, if theprevious command returns a permissions error, run the following command:
chown -R 1001 redisinsight
In addition, you can add some additional flags to the docker run command:1. You can add the flag to see the logs and view the progress.-it
2. On Linux, you can add . This makes it easy to work with redis running on your local machine.--network host
3. To analyze RDB files stored in S3, you can add the access key and secret access key as environment variables using the flag.-e
For example: -e AWS_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. 因篇幅问题不能全部显示,请点此查看更多更全内容