我正在尝试将一个文件从我的(主机)加载到我的Linux (容器)。当我挂载一个具有标准扩展名的文件时,一切看起来都很好。但是,当我试图挂载一个点文件的文件时,它不起作用。
//This does not work
type=bind,source=${env:USERPROFILE}\\.sample,target=/home/.sample,consistency=cached
// This does work
type=bind,source=${env:USERPROFILE}\\sample.txt,target=/home/sample.txt,consistency=cache