docker-compose 挂载的深刻理解,只能挂载文件夹,不能挂载文件啊!!!
Docker mounting rootfs caused not a directory error
You can't mount a file into a directory in docker. That's why you are getting the error.
来源:
https://stackoverflow.com/questions/59697242/docker-mounting-rootfs-caused-not-a-directory-error
####