redis/redisinsightRedis Insight is an ideal tool for developers who build with any Redis deployments – including Redis Open Source, Redis Stack, Redis Enterprise Software, Redis Enterprise Cloud, and Amazon ElastiCache – and who want to optimize their development process. Redis Insight lets you visually browse and interact with data, take advantage of the advanced command line interface and diagnostic tools, and so much more.
If you enjoy Redis Insight, star our repository to let us see the value you find in what we do.
You can install Redis Insight using one of the options described below.
bashdocker run -d --name redisinsight -p 5540:5540 redis/redisinsight:latest
/data path and then run the following command:bashdocker run -d --name redisinsight -p 5540:5540 redis/redisinsight:latest -v redisinsight:/data
If the previous command returns a permission error, ensure that the user with ID = 1000 has the necessary permissions to access the volume provided (redisinsight in the command above).
Next, point your browser to http://localhost:5540.
Redis Insight also provides a health check endpoint at http://localhost:5540/api/health/ to monitor the health of the running container.
| Variable | Purpose | Default | Additional info |
|---|---|---|---|
| RI_APP_PORT | The port that Redis Insight listens on. |
| See Express Documentation |
| RI_APP_HOST | The host that Redis Insight connects to. |
| See Express Documentation |
| RI_SERVER_TLS_KEY | Private key for HTTPS. | n/a | Private key in PEM format. Can be a path to a file or a string in PEM format. |
| RI_SERVER_TLS_CERT | Certificate for supplied private key. | n/a | Public certificate in PEM format. Can be a path to a file or a string in PEM format. |
| RI_ENCRYPTION_KEY | Key to encrypt data with. | n/a | Available only for Docker. Redis insight stores sensitive information (database passwords, Workbench history, etc.) locally (using sqlite3). This variable allows you to store sensitive information encrypted using the specified encryption key. Note: The same encryption key should be provided for subsequent docker run commands with the same volume attached to decrypt the information. |
| RI_LOG_LEVEL | Configures the log level of the application. | info | Supported logging levels are prioritized from highest to lowest:
|
| RI_FILES_LOGGER | Logs to file. | true | By default, you can find log files in the following folders:
|
| RI_STDOUT_LOGGER | Logs to STDOUT. | true | |
| RI_PROXY_PATH | Configures a subpath for a proxy. | n/a | Available only for Docker. |
| RI_DATABASE_MANAGEMENT | When set to false, this disables the ability to manage database connections (adding, editing, or deleting). | true |
Redis Insight allows you to preconfigure database connections using environment variables or a JSON file, enabling centralized and efficient configuration. There are two ways to preconfigure database connections in Redis Insight Electron and Docker:
Redis Insight allows you to preconfigure database connections using environment variables.
NOTES:
| Variable | Purpose | Default | Additional info |
|---|---|---|---|
| RI_REDIS_HOST* | Host of a Redis database. | N/A | |
| RI_REDIS_PORT* | Port of a Redis database. | 6379 | |
| RI_REDIS_ALIAS* | Alias of a database connection. | {host}:{port} | |
| RI_REDIS_USERNAME* | Username to connect to a Redis database. | default | |
| RI_REDIS_PASSWORD* | Password to connect to a Redis database. | No password | |
| RI_REDIS_TLS* | Indicates whether TLS certificates should be used to connect. | FALSE | Accepts TRUE or FALSE |
| RI_REDIS_TLS_CA_BASE64* | CA certificate in base64 format. | N/A | Specify a CA certificate in this environment variable or provide a file path using RI_REDIS_TLS_CA_PATH*. |
| RI_REDIS_TLS_CA_PATH* | Path to the CA certificate file. | N/A | |
| RI_REDIS_TLS_CERT_BASE64* | Client certificate in base64 format. | N/A | Specify a client certificate in this environment variable or provide a file path using RI_REDIS_TLS_CERT_PATH*. |
| RI_REDIS_TLS_CERT_PATH* | Path to the Client certificate file. | N/A | |
| RI_REDIS_TLS_KEY_BASE64* | Private key for the client certificate in base64 format. | N/A | Indicate a private key in this environment variable or use another variable to get it from a file. |
| RI_REDIS_TLS_KEY_PATH* | Path to private key file. | N/A |
Redis Insight also allows you to preconfigure database connections using a JSON file.
NOTES
id field in the JSON file should include unique identifiers to avoid conflicts for database connections.
探索更多轩辕镜像的使用方法,找到最适合您系统的配置方式
通过 Docker 登录认证访问私有仓库
在 Linux 系统配置镜像服务
在 Docker Desktop 配置镜像
Docker Compose 项目配置
Kubernetes 集群配置 Containerd
K3s 轻量级 Kubernetes 镜像加速
在宝塔面板一键配置镜像
Synology 群晖 NAS 配置
飞牛 fnOS 系统配置镜像
极空间 NAS 系统配置服务
爱快 iKuai 路由系统配置
绿联 NAS 系统配置镜像
QNAP 威联通 NAS 配置
Podman 容器引擎配置
HPC 科学计算容器配置
ghcr、Quay、nvcr 等镜像仓库
无需登录使用专属域名
需要其他帮助?请查看我们的 常见问题Docker 镜像访问常见问题解答 或 提交工单
免费版仅支持 Docker Hub 访问,不承诺可用性和速度;专业版支持更多镜像源,保证可用性和稳定速度,提供优先客服响应。
专业版支持 docker.io、gcr.io、ghcr.io、registry.k8s.io、nvcr.io、quay.io、mcr.microsoft.com、docker.elastic.co 等;免费版仅支持 docker.io。
当返回 402 Payment Required 错误时,表示流量已耗尽,需要充值流量包以恢复服务。
通常由 Docker 版本过低导致,需要升级到 20.x 或更高版本以支持 V2 协议。
先检查 Docker 版本,版本过低则升级;版本正常则验证镜像信息是否正确。
使用 docker tag 命令为镜像打上新标签,去掉域名前缀,使镜像名称更简洁。
来自真实用户的反馈,见证轩辕镜像的优质服务