docker-compose 启动报错 caused: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type

 caused: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type

出现这个问题是在编写yml文件的文件夹映射时,不应该写到具体文件,应该映射到目录。

posted @   阿飞afei  阅读(6961)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· Manus的开源复刻OpenManus初探
· AI 智能体引爆开源社区「GitHub 热点速览」
· 三行代码完成国际化适配,妙~啊~
· .NET Core 中如何实现缓存的预热?
历史上的今天:
2021-02-26 Elasticsearch 6.8.13 安装中文分词器ik
点击右上角即可分享
微信分享提示