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应该就不会出现这个问题了,如果不是就要自己指定一下文件名称         

转载: https://www.cnblogs.com/wspblog/articles/6208309.html

Logo

权威|前沿|技术|干货|国内首个API全生命周期开发者社区

更多推荐