当前位置:网站首页>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
边栏推荐
- Android篇:2019初中级Android开发社招面试解答(中
- Static interface method calls are not supported at language level '5'
- Leetcode brush question 897 incremental sequential search tree
- 1256:献给阿尔吉侬的花束
- 低频量化之明日涨停预测
- AtomicIntegerArray源码分析与感悟
- [code analysis (5)] communication efficient learning of deep networks from decentralized data
- Choreographer全解析
- 村上春树 --《当我谈跑步时,我谈些什么》句子摘录
- RAC environment alert log error drop transient type: systp2jw0acnaurdgu1sbqmbryw = = troubleshooting
猜你喜欢
Pytorch 经典卷积神经网络 LeNet
[VMware] address of VMware Tools
Kettle--控件解析
MySQL index [data structure + index creation principle]
Quartus prime hardware experimental development (de2-115 board) experiment II function adjustable comprehensive timer design
Decentralized Collaborative Learning Framework for Next POI Recommendation
大专的我,闭关苦学 56 天,含泪拿下阿里 offer,五轮面试,六个小时灵魂拷问
10g database cannot be started when using large memory host
Express②(路由)
Multithreading
随机推荐
China creates vast research infrastructure to support ambitious climate goals
Question bank and answer analysis of the 2022 simulated examination of the latest eight members of Jiangxi construction (quality control)
Dolphin scheduler integrates Flink task pit records
Static interface method calls are not supported at language level '5'
UML Unified Modeling Language
JS force deduction brush question 102 Sequence traversal of binary tree
【vmware】vmware tools 地址
Ora-600 encountered in Oracle environment [qkacon: fjswrwo]
服务器中挖矿病毒了,屮
第一章 电商秒杀商品回顾
Oracle alarm log alert Chinese trace and trace files
RAC environment alert log error drop transient type: systp2jw0acnaurdgu1sbqmbryw = = troubleshooting
RAC environment error reporting ora-00239: timeout waiting for control file enqueue troubleshooting
低频量化之明日涨停预测
剑南春把文字游戏玩明白了
Solution of discarding evaluate function in surprise Library
Reading notes: fedgnn: Federated graph neural network for privacy preserving recommendation
Taobao released the baby prompt "your consumer protection deposit is insufficient, and the expiration protection has been started"
redis如何解决缓存雪崩、缓存击穿和缓存穿透问题
Analysis of cluster component gpnp failed to start successfully in RAC environment