linux docker 安装 unable to prepare context: unable to evaluate symlinks in Docker

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

猜你喜欢

转载自chuichuige.iteye.com/blog/2407284
今日推荐