当前位置:网站首页>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
边栏推荐
- Summary of common skills in H5 development of mobile terminal
- datav漂亮数据屏制作体验
- 数据分析入门 | kaggle泰坦尼克任务
- Agenda express | list of sub forum agenda on July 27
- Redis特殊数据类型使用场景
- Google与Pixar开发Draco支持USD格式 加速3D对象传输<转发>
- 【论文下饭】Deep Mining External Imperfect Data for ChestX-ray Disease Screening
- Interview questions and answers for the second company (2)
- 比较器(Comparable与Comparator接口)
- [Halcon vision] polar coordinate transformation
猜你喜欢
干货likeshop外卖点餐系统开源啦100%开源无加密
【dectectron2】跟着官方demo一起做
hx711 数据波动大的问题
Some cutting-edge research work sharing of SAP ABAP NetWeaver containerization
2022/07/25------字符串的排列
数据分析入门 | kaggle泰坦尼克任务(一)—>数据加载和初步观察
3.1 leetcode daily question 6
Structure of [Halcon vision] operator
Agenda express | list of sub forum agenda on July 27
Tradingview 使用教程
随机推荐
数据库函数
[leetcode每日一题2021/2/13]448. 找到所有数组中消失的数字
Function templates and non template functions with the same name cannot be overloaded (definition of overloads)
Analyze the hybrid construction objects in JS in detail (construction plus attributes, prototype plus methods)
The CLOB field cannot be converted when querying Damon database
函数模板参数(函数参数在哪)
.NET操作Redis Set无序集合
C语言计算日期间隔天数
Deduct daily question 838 of a certain day
干货likeshop外卖点餐系统开源啦100%开源无加密
【Halcon视觉】图像灰度变化
Our Web3 entrepreneurship project is yellow
畅听,网文流量竞争的下一站?
Redis Docker实例与数据结构
【Halcon视觉】编程逻辑
Navicat15连接本地虚拟机的Mysql(Centos7)
.NET操作Redis sorted set有序集合
抓包工具fiddler和wireshark对比
Perfect / buffer motion framework in sentence parsing JS (for beginners)
头歌 Phoenix 入门(第1关:Phoenix 安装、第2关:Phoenix 基础语法)