用docker logs查看如下,
*** FATAL CONFIG FILE ERROR ***
Reading the configuration file, at line 89
>>> 'protected-mode yes'
Bad directive or wrong number of arguments
[vagrant@docker-host redis]$
把protected-mode改为no,仍然启动不起来,用docker logs再查看,如下
*** FATAL CONFIG FILE ERROR ***
Reading the configuration file, at line 89
>>> 'protected-mode no'
Bad directive or wrong number of arguments