Docker WCF net.pipe

我正在尝试使用net.pipe,但没有运气得到它与docker工作。 我有这个工作与运行IIS的Windows Server 2016虚拟机没有问题。 任何信息或样品如何得到这个工作将是非常有益的!

服务器信息操作系统:Windows Server 2016的DockerFile:从微软/ Windows服务器的Docker for Windows

互联网 – >端口80和443 – > ASP.NET MVC前端 – > net.pipe – > WCF服务

WCF终点

DockerFile

RUN Install-WindowsFeature -name NET-WCF-Pipe-Activation45 RUN Import-Module "WebAdministration"; New-Item IIS:\AppPools\NewPool; New-Item IIS:\Sites\NewSite -physicalPath 'C:\Service' -bindings @{protocol='https';bindingInformation='*:19001:'}; New-ItemProperty 'IIS:\Sites\NewSite' -name bindings -Value @{protocol='net.pipe';bindingInformation='localhost/servicelocation'}; Set-ItemProperty IIS:\Sites\NewSite -name applicationPool -value NewPool; Set-ItemProperty IIS:\Sites\NewSite -name EnabledProtocols -Value 'http,net.pipe'