如何解决docker build错误:系统找不到指定的文件?

问题描述

我正在尝试在docker中运行以下命令:docker build --no-cache -t myrabbit -f .\dockerfile_rabbitmq .我在拥有dockerfile_rabbitmq的当前目录中,但是我无法访问它,当我运行命令时,我得到的输出是:

unable to prepare context: unable to evaluate symlinks in Dockerfile path: CreateFile C:\Users\ENV\Documents\dockerfile_rabbitmq: The system cannot find the file specified.

如果文件位于我正在运行命令的目录中,为什么会出现此错误?有关如何解决的任何想法?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)