美文网首页
Bad directive or wrong number of

Bad directive or wrong number of

作者: tianlang136520 | 来源:发表于2018-02-22 16:16 被阅读6278次
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镜像,所以会起不来
经过两份配置文件对比发现:


image.png

忠告:还是原配好,哇哇~~~

相关文章

网友评论

      本文标题:Bad directive or wrong number of

      本文链接:https://www.haomeiwen.com/subject/egrztftx.html