无法评估Dockerfile中的符号链接 [英] unable to evaluate symlinks in Dockerfile

查看:397
本文介绍了无法评估Dockerfile中的符号链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我输入

docker build -t tutum / apache-php时。

在docker中,它将输出错误

in docker, it will output the error

无法准备上下文:无法评估Dockerfile路径中的符号链接:GetFileAttributesEx C:\User\gao\Dockerfile:系统找不到指定的文件。

这是什么意思?任何建议都是有帮助的。谢谢。

What does this mean? Any advice is helpful. Thank you.

推荐答案

这意味着您的 Dockerfile 丢失或命名错误。如果要构建另一个命名的Dockerfile,则可以运行 docker build -t tutum / apache-php -f ./Dockerfile.dev。

It means your Dockerfile is missing or incorrectly named. If you want to build a differently named Dockerfile, you can run docker build -t tutum/apache-php -f ./Dockerfile.dev .

您似乎还试图建立一个强烈建议使用的命名空间(图腾)。如果需要他们的图像,只需运行 docker pull tutum / apache-php

You also appear to be trying to build in a namespace that is in use (tutum) which is strongly recommended against. If you want their image, just run a docker pull tutum/apache-php.

这篇关于无法评估Dockerfile中的符号链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆