当前位置:网站首页>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
边栏推荐
- Yarn online dynamic resource tuning
- Leetcode | 38 appearance array
- Dynamic subset division problem
- 淘宝发布宝贝提示“您的消保保证金额度不足,已启动到期保障”
- Move blog to CSDN
- SQL learning | set operation
- JS 力扣刷题 103. 二叉树的锯齿形层序遍历
- Scientists say Australian plan to cull up to 10,000 wild horses doesn’t go far enough
- Dolphin scheduler integrates Flink task pit records
- 蓝绿发布、滚动发布、灰度发布,有什么区别?
猜你喜欢

About note 1
![MySQL [read / write lock + table lock + row lock + mvcc]](/img/a9/ace85899a01a7d4fd80b2e631e44d6.png)
MySQL [read / write lock + table lock + row lock + mvcc]

Quartus Prime硬件实验开发(DE2-115板)实验一CPU指令运算器设计
![MySQL [acid + isolation level + redo log + undo log]](/img/52/7e04aeeb881c8c000cc9de82032e97.png)
MySQL [acid + isolation level + redo log + undo log]

服务器中挖矿病毒了,屮

OSS cloud storage management practice (polite experience)

What is the difference between blue-green publishing, rolling publishing and gray publishing?

Android 面试主题集合整理

Using Baidu Intelligent Cloud face detection interface to achieve photo quality detection

解决方案架构师的小锦囊 - 架构图的 5 种类型
随机推荐
Leetcode brush question 𞓜 13 Roman numeral to integer
About note 1
Small case of web login (including verification code login)
Introduction to spark basic operation
leetcode--357. 统计各位数字都不同的数字个数
Jenkins construction and use
Oracle alarm log alert Chinese trace and trace files
crontab定时任务输出产生大量邮件耗尽文件系统inode问题处理
Oracle RAC database instance startup exception analysis IPC send timeout
OSS cloud storage management practice (polite experience)
Express middleware ③ (custom Middleware)
Modify the Jupiter notebook style
ACFs file system creation, expansion, reduction and other configuration steps
Elmo (bilstm-crf + Elmo) (conll-2003 named entity recognition NER)
L2-024 部落 (25 分)
Ora-16047 of a DG environment: dgid mismatch between destination setting and target database troubleshooting and listening vncr features
Go语言 RPC通讯
Function executes only the once function for the first time
第十五章 软件工程新技术
Troubleshooting of expdp export error when Oracle table has logical bad blocks