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
####