简体   繁体   English

带有 Visual Studio 2019 Community 的 Windows 10 无法将我的项目发布到 Azure 容器注册表

[英]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.

相关问题 在Mac的Visual Studio社区中发布到Azure - Publish to Azure in Visual Studio Community for Mac 无法从 Visual Studio 2019 社区版附加到 Azure 应用服务 - Unable to attach to Azure App Service from Visual Studio 2019 Community edition 在 Visual Studio 2019 社区中将 Azure API 链接到 C# ASP.Net 项目的问题 - Issue linking Azure API to C# ASP.Net project in Visual Studio 2019 Community 无法使用 Visual Studio 2019 部署我的 Azure Web 应用程序 - Unable to deploy my Azure Web App using visual studio 2019 从Visual Studio 2013创建Azure项目时无法使用Windows Azure帐户登录 - Unable to sign in using my Windows Azure account while creating an Azure project from Visual Studio 2013 将服务器项目从Visual Studio发布到Azure - Publish the server project from Visual Studio to Azure 无法使用 Visual Studio 2019 和 Azure 发布 web 应用程序 - cannot Publish web app with Visual Studio 2019 and Azure 无法在Visual Studio 2012中创建Windows Azure项目 - Unable to create Windows Azure project in Visual Studio 2012 发布时 Visual Studio 2019 Azure KeyVault 配置错误 - Visual Studio 2019 Azure KeyVault configuration error when publish Visual Studio 2019,对于 NodeJs Web 应用程序,发布到 Azure 失败 - Visual Studio 2019, Publish to Azure is failed for NodeJs Web App
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM