其他分享
首页 > 其他分享> > docker-compose 启动报错 caused: not a directory: unknown: Are you trying to mount a directory onto a fil

docker-compose 启动报错 caused: not a directory: unknown: Are you trying to mount a directory onto a fil

作者:互联网

 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文件的文件夹映射时,不应该写到具体文件,应该映射到目录。

标签:compose,exists,caused,unknown,报错,file,specified,directory
来源: https://www.cnblogs.com/kala00k/p/15930830.html