unable to prepare context: unable to evaluate symlinks in Dockerfile path:

在目录下创建了Dockerfile,构建镜像时,出席如下错误:

unable to prepare context: unable to evaluate symlinks in Dockerfile path:

解决办法:

修改名称为dockerfile, 添加指定文件参数-f

unable to prepare context: unable to evaluate symlinks in Dockerfile path: