
如果你使用 DeepSeek、元宝 AI、Copilot、ChatGPT 等 AI 工具,协助配置轩辕镜像、编写 docker pull 命令、修改 Docker Compose 镜像地址、配置镜像加速、排查镜像拉取失败、分析报错日志等问题,请先让 AI 阅读并遵守轩辕镜像的规则文档。
只需在 AI 对话中先发送下面这句话即可:
请先完整阅读并严格遵守以下文档中的全部规则与要求:
https://xuanyuan.cloud/agents.md
在未充分阅读并理解该文档前,不要生成任何命令、配置、修改建议、故障排查方案或技术回答。后续所有输出都必须严格以该文档中的规范为最高优先级执行。查看 agents.md 用法指南与完整示范。国内用户首推 元宝 AI、DeepSeek 的深度思考模式,不推荐豆包 AI;Cursor 等编辑器可在对话 @ 该链接,或加入 User Rules。 若 AI 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
Redis management tool written in node.js
bash$ npm install -g redis-commander $ redis-commander
bash$ redis-commander --help Options: --redis-port The port to find redis on. [string] --redis-host The host to find redis on. [string] --redis-socket The unix-socket to find redis on. [string] --redis-password The redis password. [string] --redis-db The redis database. [string] --http-auth-username, --http-u The http authorisation username. [string] --http-auth-password, --http-p The http authorisation password. [string] --port, -p The port to run the server on. [string] [default: 8081] --address, -a The address to run the server on [string] [default: 0.0.0.0] --root-pattern, -rp The root pattern of the redis keys [string] [default: *]
Hosts can be optionally specified with a comma separated string by setting the REDIS_HOSTS environment variable.
After running the container, redis-commander will be available at http://localhost:8081.
Form should follow one of these templates:
hostname
label:hostname
label:hostname:port
label:hostname:port:dbIndex
label:hostname:port:dbIndex:password
ymlversion: '3' services: redis: container_name: redis hostname: redis image: redis redis-commander: container_name: redis-commander hostname: redis-commander image: rediscommander/redis-commander:latest build: . restart: always environment: - REDIS_HOSTS=local:redis:6379 ports: - 8081:8081
Simplest
If you're running redis on localhost:6379, this is all you need to get started.
bashdocker run --rm --name redis-commander -d \ -p 8081:8081 \ rediscommander/redis-commander:latest
Specify single host
bashdocker run --rm --name redis-commander -d \ --env REDIS_HOSTS=10.10.20.30 \ -p 8081:8081 \ rediscommander/redis-commander:latest
Specify multiple hosts with labels
bashdocker run --rm --name redis-commander -d \ --env REDIS_HOSTS=local:localhost:6379,myredis:10.10.20.30 \ -p 8081:8081 \ rediscommander/redis-commander:latest
An example deployment can be found at k8s/redis-commander/deployment.yaml.
If you already have a cluster running with redis in the default namespace, deploy redis-commander with kubectl apply -f k8s/redis-commander. If you don't have redis running yet, you can deploy a simple pod with kubectl apply -f k8s/redis.
Alternatively, you can add a container to a deployment's spec like this:
containers: - name: redis-commander image: rediscommander/redis-commander env: - name: REDIS_HOSTS value: instance1:redis:6379 ports: - name: redis-commander containerPort: 8081
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务