linux docker 安装 unable to prepare context: unable to evaluate symlinks in Docker
程序员文章站
2022-06-17 13:33:59
...
unable to prepare context: unable to evaluate symlinks in Dockerfile path
现象:
#docker build -t docker-whale .
unable to prepare context: unable to evaluate symlinks in Dockerfile path: GetFileAttributesEx C:\Users\Administrator\Desktop\testdocker\Dockerfile: The system cannot find the file specified.
解决方法
docker build -t docker-whale -f /Dockerfiler .
如果当时建的文件是Dockerfile应该就不会出现这个问题了,如果不是就要自己指定一下文件名称