无法使用Docker在Azure上的VM上部署ASP .net vnext应用程序

我正在尝试在Azure VM(ubuntu)上部署asp.net 5示例应用程序。 我正在使用Visual Studio 15的Docker工具。我正在遵循http://www.hanselman.com/blog/PublishingAnASPNET5AppToDockerOnLinuxWithVisualStudio.aspx

过程1; 我已经按照下面的步骤。 1.使用VS15创build示例应用程序2.发布向导,创build新的VM 3.发布,保持相同的主机和容器端口80. 4.使用azure色门户公开80端口

发布过程中,但在IE中打开时,显示页面无法显示。

我甚至创build了多个虚拟机,并尝试相同,但没有成功。

过程2; 我试图使用docker客户端创build一个图像,但它给TLS错误。 您是否尝试连接到启用TLS的守护进程而不使用TLS? 即使在我的笔记本电脑上也能得到这个。 这是试图使用127.0.0.1:2375创build图像

任何人都可以请帮忙?

我检查了容器日志; 下面是细节。

System.InvalidOperationException: Failed to resolve the following dependencies for target framework 'DNX,Version=v4.5.1': 

当前运行时目标框架:“DNX,版本= v4.5.1(dnx451)”版本:1.0.0-beta7-15532types:单一架构:x64操作系统名称:Linux

  at Microsoft.Dnx.ApplicationHost.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] i n <filename unknown>:0 at Microsoft.Dnx.Runtime.Commo`enter code here`n.EntryPointExecutor.Execute (System.Reflection. 

程序集汇编程序,System.Strenter代码hereing [] args,IServiceProvider serviceProvider)[0x00000] in:0 at Microsoft.Dnx.Host.Bootstrapper.RunAsync(System.Collections.Generic.List`1 args,IRuntimeEnvironment env,System.Runtime .Versioning.FrameworkName targetFr amework)[0x00000] in:0

侯赛因,请你试试下面提到的两个链接。 请让我知道你是否仍然面临问题。 我会和你一起解决这个问题。

https://weblogs.asp.net/scottgu/announcing-windows-server-2016-containers-preview https://channel9.msdn.com/Series/Docker-for-NET-Developers/Deploy-your-ASPNET-5 -app至A-泊坞容器,在五分钟