当前位置:网站首页>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
边栏推荐
- freeCodeCamp----arithmetic_ Arranger exercise
- Spark入门基本操作
- 神经元与神经网络
- How does redis solve the problems of cache avalanche, cache breakdown and cache penetration
- 10g database cannot be started when using large memory host
- Leetcode | 38 appearance array
- [code analysis (1)] communication efficient learning of deep networks from decentralized data
- [code analysis (2)] communication efficient learning of deep networks from decentralized data
- 零拷貝技術
- Get the attribute value difference between two different objects with reflection and annotation
猜你喜欢
随机推荐
淘宝发布宝贝提示“您的消保保证金额度不足,已启动到期保障”
What is the difference between blue-green publishing, rolling publishing and gray publishing?
19c RAC steps for modifying VIP and scanip - same network segment
33 million IOPs, 39 microsecond delay, carbon footprint certification, who is serious?
RAC environment error reporting ora-00239: timeout waiting for control file enqueue troubleshooting
cnpm的诡异bug
SQL learning | set operation
村上春树 --《当我谈跑步时,我谈些什么》句子摘录
Scientists say Australian plan to cull up to 10,000 wild horses doesn’t go far enough
力扣刷题 101. 对称二叉树
Modify the Jupiter notebook style
elmo(BiLSTM-CRF+elmo)(Conll-2003 命名实体识别NER)
Express middleware ③ (custom Middleware)
Processing of ASM network not automatically started in 19C
Crontab timing task output generates a large number of mail and runs out of file system inode problem processing
redis如何解决缓存雪崩、缓存击穿和缓存穿透问题
JMeter pressure test tool
Leetcode brush question 897 incremental sequential search tree
Reading notes: fedgnn: Federated graph neural network for privacy preserving recommendation
RAC environment alert log error drop transient type: systp2jw0acnaurdgu1sbqmbryw = = troubleshooting