当前位置:网站首页>Redis docker 安装
Redis docker 安装
2022-04-23 13:59:00 【流苏1990】
1、参见 Docker 入门到实战教程(七)安装Redis - 云+社区 - 腾讯云
2、踩坑:
2.1、创建文件夹
mkdir -p /usr/local/src/redis/
并将对应的redis.conf 文件放入此处
docker 启动命令:
docker run -p 6379:6379 --name my_redis --restart=always -v /usr/local/docker/redis/redis.conf:/etc/redis/redis.conf -d redis redis-server /etc/redis/redis.conf --appendonly yes --requirepass qwer123455
requirepass 需要设置为字符串。我设置成332244 数字的一直不成功,我也不知道为的什么。后面设置字符串类型的就OK
版权声明
本文为[流苏1990]所创,转载请带上原文链接,感谢
https://blog.csdn.net/fuweiping/article/details/121109450
边栏推荐
- FDFS start
- MySQL [SQL performance analysis + SQL tuning]
- Multithreading
- Elmo (bilstm-crf + Elmo) (conll-2003 named entity recognition NER)
- Express ② (routage)
- 33 million IOPs, 39 microsecond delay, carbon footprint certification, who is serious?
- 3300万IOPS、39微秒延迟、碳足迹认证,谁在认真搞事情?
- JS force deduction brush question 103 Zigzag sequence traversal of binary tree
- 程序编译调试学习记录
- Android 面试主题集合整理
猜你喜欢
随机推荐
[code analysis (4)] communication efficient learning of deep networks from decentralized data
Analysis of unused index columns caused by implicit conversion of timestamp
groutine
leetcode--977. Squares of a Sorted Array
Building MySQL environment under Ubuntu & getting to know SQL
Record a strange bug: component copy after cache component jump
Static interface method calls are not supported at language level '5'
JS force deduction brush question 102 Sequence traversal of binary tree
OSS cloud storage management practice (polite experience)
Decentralized Collaborative Learning Framework for Next POI Recommendation
JS 力扣刷题 102. 二叉树的层序遍历
商家案例 | 运动健康APP用户促活怎么做?做好这几点足矣
Search ideas and cases of large amount of Oracle redo log
Express middleware ③ (custom Middleware)
Chapter 15 new technologies of software engineering
The art of automation
Express②(路由)
蓝绿发布、滚动发布、灰度发布,有什么区别?
编程旅行之函数
Leetcode brush question 𞓜 13 Roman numeral to integer