当前位置:网站首页>Docker installation redis- simple without pit
Docker installation redis- simple without pit
2022-06-24 23:01:00 【Bald and weak.】
1. Switch root user
2. Download the image file
docker pull redis
3. Create an instance and start
mkdir -p /mydata/redis/conf
touch /mydata/redis/conf/redis.conf
docker run -p 6379:6379 --name redis -v /mydata/redis/data:/data \
-v /mydata/redis/conf/redis.conf:/etc/redis/redis.conf \
-d redis redis-server /etc/redis/redis.conf
4.redis Profile detailed configuration ( Modify yourself )
https://raw.githubusercontent.com/antirez/redis/4.0/redis.conf
Want to modify the configuration file , modify linux The host /mydata/redis/conf/redis.conf that will do
5. Use redis Mirrored execution redis-cli Command connection
docker exec -it redis redis-cli
边栏推荐
- The difference between interceptor and filter
- Environment configuration | vs2017 configuring openmesh source code and environment
- Beijiafu (p+f) R2000 modified radar IP
- [postgraduate entrance examination English] prepare for 2023, learn list9 words
- 【武汉大学】考研初试复试资料分享
- Row and column differences in matrix construction of DX HLSL and GL glsl
- 详细了解Redis的八种数据类型及应用场景分析
- Stop using it indiscriminately. This is the real difference between @validated and @valid!!!
- The difference between get and post
- A big factory interview must ask: how to solve the problem of TCP reliable transmission? 8 pictures for you to learn in detail
猜你喜欢

CDN principle

2022-06-16 work record --js- judge the number of digits in string type digits + judge the number of digits in numeric type digits + limit the text length (display n words at most, exceeding...)

Servlet
![[ROS play with turtle turtle]](/img/94/4d1063f063d115aeef5cdf099278f8.png)
[ROS play with turtle turtle]

The usage difference between isempty and isblank is so different that so many people can't answer it

EPICS记录参考4--所有输入记录都有的字段和所有输出记录都有的字段

The extra points and sharp tools are worthy of the trust | know that Chuangyu won the letter of thanks from the defense side of the attack and defense drill!

Analyze the implementation process of oauth2 distributed authentication and authorization based on the source code

推送Markdown格式信息到钉钉机器人

Heavyweight! Fada is listed as a "specialized and new" enterprise
随机推荐
How to integrate Huawei cloud function services in fluent
2022 safety officer-a certificate examination questions and answers
Development specification - parameter verification exception, exception return prompt section
Learn more about the practical application of sentinel
[ROS play with turtle turtle]
结构体的内存对齐
Servlet
源码阅读 | OpenMesh读取文本格式stl的过程
EPICS記錄參考3 -- 所有記錄都有的字段
Cat write multiline content to file
Design and implementation of spark offline development framework
docker安装mysql-简单无坑
vulnhub DC: 2
大厂面试必问:如何解决TCP可靠传输问题?8张图带你详细学习
对抗训练理论分析:自适应步长快速对抗训练
【Laravel系列7.9】测试
See how sparksql supports enterprise data warehouse
Panorama of enterprise power in China SSD industry
China solar window market trend report, technical dynamic innovation and market forecast
倍加福(P+F)R2000修改雷达IP