执行docker-compose.exe up -d 命令报以下错误:
ERROR: Windows named pipe error: The system cannot find the file specified. (code:2)
解决方法:
1. 查看docker for windows 软件的状态,状态要为 running
2.查看任务管理器(Task Manager) ,Performance 里的Virtualization是否为Enable ,若不是则将其修改为Enable。
修改Virtualization的方法参考这个链接:https://zhidao.baidu.com/question/339098469.html
3. 在docker-compose.yml文件所在的目录下运行cmd的命令窗口,然后输入docker-compose.exe up -d 命令