专属域名
文档搜索
提交工单
轩辕助手
Run助手
返回顶部
快速返回页面顶部
收起
收起工具栏

redislabs/redis Docker 镜像 - 轩辕镜像

redis
redislabs/redis
Redis Labs提供的集群化内存数据库引擎,完全兼容开源Redis,具备企业级特性,支持高性能、零停机线性扩展和高可用性,适用于分布式应用场景。
44 收藏0 次下载activeredislabs镜像
🚀专业版镜像服务,面向生产环境设计
版本下载
🚀专业版镜像服务,面向生产环境设计
Supported Tags
  • 8.0.2-41,
  • 7.22.2-41,
  • 7.22.0-241,
  • 7.8.6-13,
  • 7.8.4-95,
  • 7.8.2-60,
  • 7.4.6-275,
  • 7.2.4-122,
  • 6.4.2-121,
  • 6.4.2-61,
  • 6.2.18-71,
  • 6.2.12-82,
  • 6.2.12-68,
  • 6.2.10-129,
  • 6.2.8-64,
  • 6.2.4-54,
  • 6.0.20-97,
  • 6.0.20-95,
  • 6.0.20-69,
  • 6.0.12-58,
  • 6.0.8-30,
  • 6.0.6-39,
  • 5.6.0-31,
  • 5.4.14-34,
  • 5.4.10-22,
  • 5.4.6-17,
  • 5.4.4-7,
  • 5.4.2-27,
  • 5.4.0-19,
  • 5.2.2-24,
  • 5.2.0-14,
  • 5.0.2-30,
  • 5.0.0-31,
  • 4.5.0-51
Preview Versions

![Build Status]([***]

What is Redis Enterprise Software (RS)?

Redis Enterprise Software is enterprise grade, distributed, in-memory NoSQL database server, fully compatible with open source Redis by Redis Labs. Redis Enterprise Software extends open source Redis and delivers stable high performance, zero-downtime linear scaling and high availability, with significant operational savings.

!RS Architecture

  • Redis Enterprise Software can use both RAM and Flash drives such as SSDs for data processing. See Redis on Flash) for details.
  • Redis Enterprise Software can also support active-active geo-distributed applications with Redis CRDTs
  • Redis Enterprise Software supports Redis Modules. See details at RediSearch, ReJSON and ReBloom

Quick Start

  1. Run the Redis Enterprise container
docker run -d --cap-add sys_resource --name rp -p 8443:8443 -p 9443:9443 -p ***:*** redislabs/redis
  1. Configure Redis Enterprise cluster using the "rladmin" tool and "create cluster" command
docker exec -d --privileged rp "/opt/redislabs/bin/rladmin" cluster create name cluster.local username *** password redislabs123
  1. Create a database on Redis Enterprise cluster
curl -k -u "***:redislabs123" --request POST --url "https://localhost:9443/v1/bdbs" --header 'content-type: application/json' --data '{"name":"db1","type":"redis","memory_size":***,"port":***}'

Note: Redis Enterprise may take a few seconds to start depending on your HW. if you receive the following message: "503 Service Unavailable", wait a few more seconds and repeat step-2 and step3 again.

  1. Connect to Redis database in Redis Enterprise cluster using "redis-cli"
docker  exec -it rp bash

# sudo /opt/redislabs/bin/redis-cli -p ***
# 127.0.0.1:***> set key1 123
# OK
# 127.0.0.1:***> get key1
# "123"
#

Step-by-Step Guide

You can run the Redis Enterprise Software linux based container on MacOS, various Linux and Windows based machines with Docker. Each Redis Enterprise Software container runs a cluster node. To get started, you can simply set up a one node cluster, create a database and connect your application to the database.

Note: Redis Enterprise Software Docker image works best when you provide a minimum of 2 cores and 6GB ram per container. You can find additional minimum hardware and software requirements for Redis Enterprise Software in the product documentation

  1. Run Redis Enterprise Software container

Port 8443 is used for the administration UI and port *** is reserved for the Redis database that will be created in Step #5 below.

docker run -d --cap-add sys_resource --name rp -p 8443:8443 -p ***:*** redislabs/redis

  1. Setup Redis Enterprise Software by visiting https://localhost:8443 on the host machine to see the RS Web Console

Note: You may see a certificate error with your browser. Simply choose "continue to the website" to get to the setup screen.

!setup screen

  1. Go with default settings and provide a cluster FQDN: "cluster.local"

!setup screen

  1. Configure free trial & set up cluster admin account

If you don't have a license key, click "Next" to skip the license key screen to try the free version of the product. On the next screen, set up a cluster admin email and password.

!setup screen

  1. Choose the new redis db option

In the new redis db screen, click the "show advanced option" link and provide a database name "database1", endpoint port number of "***" and click "Activate" to create your database.

!setup screen

You now have a Redis database!

Connecting to the Redis Database

With the Redis database created, you are ready to connect to your database to store data. You can use redis-cli or your favorite language with Redis client driver to talk to the new database. There is a python based example below.

  • Connect using redis-cli:

redis-cli is a simple commandline tool to interact with a Redis instance. Use the following script to connect to the Redis Enterprise Software container, run redis-cli connecting to port *** and store and retrieve a key.

docker  exec -it rp bash

# sudo /opt/redislabs/bin/redis-cli -p ***
# 127.0.0.1:***> set key1 123
# OK
# 127.0.0.1:***> get key1
# "123"
#
  • Connect using a Simple Python App:

If you don't have python or redis-py (python library for connecting to Redis) on the host, you can run the redis-py container.

Following section assumes you already have python and redis-py configured on the host machine running the container.

You can find the instructions to install redis-py on the github page for redis-py.

Paste the following into a file named "redis_test.py"

import redis

r = redis.StrictRedis(host='localhost', port=***, db=0)
print ("set key1 123")
print (r.set('key1', '123'))
print ("get key1")
print(r.get('key1'))

Run redis_test.py application to connect to the database and store and retrieve a key.

python redis_test.py

The output should look like the following screen if the connection is successful.

# set key1 123
# True
# get key1
# b'123'

Quick Reference

Supported Docker Versions:

Docker version 17.x or greater.

Getting Started

  • Working with Redis Enterprise Software and Docker
  • Getting Started with Redis Enterprise Software and Docker on Windows,
  • Getting Started with Redis Enterprise Software and Docker on Mac OSx,
  • Getting Started with Redis Enterprise Software and Docker on Linux
  • Getting Started with Redis on Flash Databases
  • Getting Started with Redis CRDTs

Detailed Documentation

  • Setting up a Redis Enterprise Software Cluster for Production Use
  • Technical Documentation
  • How To Guides
查看更多 redis 相关镜像 →
redis logo
redis
by library
官方
Redis是全球速度最快的数据平台,广泛应用于缓存、向量搜索及非关系型数据库领域,能够高效处理各类数据需求,凭借卓越性能成为现代应用中数据处理的关键工具,为用户提供快速、可靠的数据服务支持,在提升应用响应速度和数据处理效率方面发挥着重要作用。
135001B+ pulls
上次更新:11 天前
redis/redis-stack-server logo
redis/redis-stack-server
by Redis
认证
redis-stack-server是一款用于安装Redis服务器的工具,它在标准Redis服务器的基础上,集成了多种额外的数据库功能,包括对JSON数据类型的原生支持、高效的全文搜索能力、时间序列数据的专门管理机制以及概率数据结构(如布隆过滤器)等,这些扩展功能显著增强了Redis的数据处理多样性和应用灵活性,使其能够更好地满足实时数据分析、内容检索、多模型数据存储等复杂场景的需求。
9910M+ pulls
上次更新:2 个月前
redis/redis-stack logo
redis/redis-stack
by Redis
认证
Redis Stack是一个集成方案,它安装Redis服务器并赋予其额外的数据库功能,如搜索、JSON数据处理、时间序列管理等,同时包含RedisInsight这一可视化管理工具,帮助用户便捷部署、监控和管理Redis数据库,有效提升开发与运维效率。
15810M+ pulls
上次更新:2 个月前
redis/redisinsight logo
redis/redisinsight
by Redis
认证
Redis Insight 是 Redis 官方推出的最佳图形用户界面(GUI)工具,它集数据结构可视化浏览与编辑、实时性能监控、集群管理、问题诊断及开发调试等功能于一体,能够帮助开发者和管理员更高效地操作与维护 Redis 数据库,凭借官方出品的可靠性和专业性,成为 Redis 生态中简化日常管理、提升工作效率的不可或缺的利器。
451M+ pulls
上次更新:6 个月前
redis/rdi-operator logo
redis/rdi-operator
by Redis
认证
暂无描述
10K+ pulls
上次更新:11 天前
redis/rdi-api logo
redis/rdi-api
by Redis
认证
暂无描述
10K+ pulls
上次更新:11 天前

轩辕镜像配置手册

探索更多轩辕镜像的使用方法,找到最适合您系统的配置方式

登录仓库拉取

通过 Docker 登录认证访问私有仓库

Linux

在 Linux 系统配置镜像服务

Windows/Mac

在 Docker Desktop 配置镜像

Docker Compose

Docker Compose 项目配置

K8s Containerd

Kubernetes 集群配置 Containerd

K3s

K3s 轻量级 Kubernetes 镜像加速

宝塔面板

在宝塔面板一键配置镜像

群晖

Synology 群晖 NAS 配置

飞牛

飞牛 fnOS 系统配置镜像

极空间

极空间 NAS 系统配置服务

爱快路由

爱快 iKuai 路由系统配置

绿联

绿联 NAS 系统配置镜像

威联通

QNAP 威联通 NAS 配置

Podman

Podman 容器引擎配置

Singularity/Apptainer

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 错误时,表示流量已耗尽,需要充值流量包以恢复服务。

410 错误问题

通常由 Docker 版本过低导致,需要升级到 20.x 或更高版本以支持 V2 协议。

manifest unknown 错误

先检查 Docker 版本,版本过低则升级;版本正常则验证镜像信息是否正确。

镜像拉取成功后,如何去掉轩辕镜像域名前缀?

使用 docker tag 命令为镜像打上新标签,去掉域名前缀,使镜像名称更简洁。

查看全部问题→

用户好评

来自真实用户的反馈,见证轩辕镜像的优质服务

oldzhang的头像

oldzhang

运维工程师

Linux服务器

5

"Docker访问体验非常流畅,大镜像也能快速完成下载。"

轩辕镜像
镜像详情
...
redislabs/redis
官方博客Docker 镜像使用技巧与技术博客
热门镜像查看热门 Docker 镜像推荐
一键安装一键安装 Docker 并配置镜像源
提交工单
免费获取在线技术支持请 提交工单,官方QQ群:13763429 。
轩辕镜像面向开发者与科研用户,提供开源镜像的搜索和访问支持。所有镜像均来源于原始仓库,本站不存储、不修改、不传播任何镜像内容。
免费获取在线技术支持请提交工单,官方QQ群: 。
轩辕镜像面向开发者与科研用户,提供开源镜像的搜索和访问支持。所有镜像均来源于原始仓库,本站不存储、不修改、不传播任何镜像内容。
官方邮箱:点击复制邮箱
©2024-2026 源码跳动
官方邮箱:点击复制邮箱Copyright © 2024-2026 杭州源码跳动科技有限公司. All rights reserved.
轩辕镜像 官方专业版 Logo
轩辕镜像轩辕镜像官方专业版
首页个人中心搜索镜像
交易
充值流量我的订单
工具
提交工单镜像收录一键安装
Npm 源Pip 源Homebrew 源
帮助
常见问题
其他
关于我们网站地图

官方QQ群: 13763429