docker启动redis报错
~/dev/docker-install/redis/data docker logs my-redis
*** FATAL CONFIG FILE ERROR ***
Reading the configuration file, at line 194
'always-show-logo yes'
Bad directive or wrong number of arguments
redis.conf 第194行
always-show-logo yes
咋看都没啥问题,后来发现我下载了两个版本的redis:3.2 和 4.0.8
我用4.0.8 的redis.conf作为启动配置文件来启动3.2镜像,所以会起不来
经过两份配置文件对比发现:
![](https://img.haomeiwen.com/i2845835/513634a412cf2d49.png)
忠告:还是原配好,哇哇~~~
网友评论