当前位置:网站首页>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
边栏推荐
- 移动端H5开发常用技巧总结
- js下载文件,FileSaver.js导出txt、excel文件
- 父类对子类的引用(父类引用指向子类对象)
- Use of Android grendao database
- Agenda express | list of sub forum agenda on July 27
- Okaleido生态核心权益OKA,尽在聚变Mining模式
- 2022pta平时训练题(1~10题字符串处理问题)
- [Halcon vision] morphological expansion
- [socket] the three handshakes are completed in listen, and accept only takes out one connection from the queue that completes the connection
- 并行、并发及对于高并发优化的几个方向
猜你喜欢
随机推荐
Review of database -- 3. SQL language
[leetcode每日一题2021/5/8]1723. 完成所有工作的最短时间
结构体操作报错:Segmentation fault (core dumped)
Controller返回JSON数据
2022/07/25 ------ arrangement of strings
链式方法调用的事务问题剖析
函数模板与同名的非模板函数不可以重载(重载的定义)
Google与Pixar开发Draco支持USD格式 加速3D对象传输<转发>
js下载文件,FileSaver.js导出txt、excel文件
cavans实现静态滚动弹幕
2022pta平时训练题(1~10题字符串处理问题)
异常的概念与处理
equals与==的区别
Comparison of packet capturing tools fiddler and Wireshark
移动端H5开发常用技巧总结
Tradingview 使用教程
数据分析入门 | kaggle泰坦尼克任务(一)—>数据加载和初步观察
[leetcode每日一题2021/4/23]368. 最大整除子集
MLX90640 红外热成像仪测温传感器模块开发笔记(六)
【Halcon视觉】软件编程思路
![[leetcode每日一题2021/5/8]1723. 完成所有工作的最短时间](/img/e7/a48bb5b8a86cbc4cd5b37bb16661a8.png)








