docker run mycat 报错 mycat/conf/wrapper.conf: No such file or directory

 

运行 以下语句

docker run -d   -p:8066:8066 --name mysql-mycat --net docker-network --ip 172.18.0.20 -p 9066:9066 -v $PWD/logs:/mycat/logs -v $PWD/conf:/mycat/conf mycat:1.6

报错

FATAL  | wrapper  | Unable to resolve the full path of the configuration file, /mycat/conf/wrapper.conf: No such file or directory

 

解决办法:

删除 mycat/logs 目录缓存,不要存在logs目录,运行run后会再次自动生成

docker run mycat 报错 mycat/conf/wrapper.conf: No such file or directory

上一篇:Android NDK基础编程入门


下一篇:PHP移动互联网开发笔记(7)——MySQL数据库基础回顾