当前位置:网站首页>Redis docker instance and data structure
Redis docker instance and data structure
2022-07-26 10:33:00 【Miners learn programming】
One 、Redis Example preparation
The operating system I'm using here is centos7,Docker install Redis. Installation method Refer to the rookie tutorial .
1、 Take the latest version Redis Mirror image
$ docker pull redis:latest // Pull the latest image
$ docker images // View the successfully pulled image

2、 function Redis Containers
$ docker run -itd --name redis-test -p 6379:6379 redis- Parameter description :
- -p 6379:6379: Mapping container service's 6379 Port to host 6379 port . The external can be directly through the host ip:6379 Access to the Redis Service for .
3、 Check to see if it is working properly
$ docker ps 
4、 Use Redis-cli Connection test use redis service
$ docker exec -it redis-test /bin/bash
Test a basic String Type write .
Two 、Redis Management tools
What I use here is Another Redis Desktop Manager Free tools , Download address .
1、 Connect Docker Medium Redis example , Without a password , Direct input ip And port can be connected .

After the connection is successful, you can see that it was just in the container Use Redis-cli Test data writing

3、 ... and 、Redis data structure
Redis There are nine data structures
Respectively
Common types
Special type
- BitMaps
- Hyperlogloss
- Streams
- Bloom Filter
边栏推荐
- .NET5WTM(ASP.NET Core) PGSql开箱操作
- 比较器(Comparable与Comparator接口)
- Redis Docker实例与数据结构
- json-c库的简单使用——将json文件转换为struct.
- 议程速递 | 7月27日分论坛议程一览
- Introduction to Phoenix (Level 1: Phoenix installation, level 2: Phoenix basic grammar)
- [leetcode每日一题2021/2/13]448. 找到所有数组中消失的数字
- Navicat15 MySQL (centos7) connected to local virtual machine
- [Halcon vision] affine transformation
- js翻页、kkpager.js翻页
猜你喜欢
随机推荐
Listening freely, the next stop of online text traffic competition?
.NET操作Redis sorted set有序集合
Introduction to data analysis | kaggle Titanic mission (I) - > data loading and preliminary observation
.NET操作Redis Set无序集合
[Halcon vision] array
【Halcon视觉】软件编程思路
.NET 开源框架在工业生产中的应用
Perfect / buffer motion framework in sentence parsing JS (for beginners)
INSTALL_ FAILED_ SHARED_ USER_ Incompatible error resolution
[Halcon vision] software programming ideas
Navicat15 MySQL (centos7) connected to local virtual machine
PLC overview
异常的概念与处理
[leetcode每日一题2021/4/23]368. 最大整除子集
[Halcon vision] image filtering
链式方法调用的事务问题剖析
[Halcon vision] image filtering
[leetcode每日一题2021/5/8]1723. 完成所有工作的最短时间
上传图片获取宽高
软件打不开了





![[leetcode每日一题2021/8/30]528. 按权重随机选择【中等】](/img/13/c6cb176d7065035f60d55ad20ed1bf.png)



