docker-compose 挂载的深刻理解,只能挂载文件夹,不能挂载文件啊!!!

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

####

posted @ 2021-11-14 23:17  技术改变命运Andy  阅读(983)  评论(0编辑  收藏  举报