[英]Windows 10 with Visual Studio 2019 Community is unable to publish my project to Azure Container Registry
I am attempting to publish my solution to Azure Container Registry but am getting an error of:我正在尝试将我的解决方案发布到 Azure 容器注册表,但出现以下错误:
Error response from daemon: No such image <image name:latest>
A diagnostic log has been written to the following location:
Output from log:日志输出:
Microsoft.WebTools.Azure.Publish.Docker.DockerCommandException: Running the docker.exe tag command failed.
Error response from daemon: No such image: basket.api:latest
at Microsoft.WebTools.Azure.Publish.Docker.DockerOperations.ThrowDockerCommandError(String dockerCommand)
at Microsoft.WebTools.Azure.Publish.Docker.DockerOperations.<DockerTagAsync>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.WebTools.Azure.Publish.Docker.DockerPublish.<DockerPublishAsync>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.WebTools.Azure.Publish.ContainerRegistry.ManageContainerRegistry.<PushImageAsync>d__14.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.WebTools.Azure.Publish.PublishProviders.ContainerRegistryProfileVisual.<PostPublishAsync>d__32.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Publish.Framework.ViewModel.ProfileSelectorViewModel.<RunPublishTaskAsync>d__202.MoveNext()
===================
Has anyone else run into this issue?还有其他人遇到过这个问题吗? If so is there a solution or anything that people have done to be able to send Azure Container Registry?
如果有,是否有解决方案或人们为能够发送 Azure 容器注册表所做的任何事情? For what it is worth I have also attempted to publish my solution w/ Docker file to Docker hub and ran into the same error.
值得一提的是,我还尝试将带有 Docker 文件的解决方案发布到 Docker hub,但遇到了同样的错误。
For Docker to work on Windows 10 you need the Pro or Enterprise Edition of Windows 10.要使 Docker 在 Windows 10 上运行,您需要 Windows 10 的专业版或企业版。
If you do not have one of these editions, that would explain the error.如果您没有这些版本之一,则可以解释该错误。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.