Windows 10上的Docker容器无法访问主机文件夹。 它显示为空。

您好,我在Docker工具箱,Windows 10上运行。

我是docker的新手,目前正在试用Windows 10.能够安装并运行,但无法安装卷。

它没有显示安装错误,但我已经装载的文件夹在使用bash访问时在容器上是空的。 甚至下面的命令显示文件没有find。 请帮忙。 谢谢。

$ docker run --rm -v $(pwd):/app composer/composer install Composer could not find a composer.json file in /app To initialize a project, please create a composer.json file as described in the https://getcomposer.org/ "Getting Started" section