注意:docker的外部掛載只能掛載文件夾,不能掛載文件,所以在掛載特定的文件的前提條件是掛載的文件在主機中是存在的
錯誤描述:錯誤將目錄掛載到文件
錯誤提示: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.
解決方案:https://blog.csdn.net/qq_42114918/article/details/85238011