本文介绍了如何使用带有RPC(远程过程调用)EPM(端点映射器 - 端口135)的Windows容器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

项目要求IaaS托管一个依赖于RPC(它的MSDTC)的docker镜像。通常,docker镜像在使用透明网络驱动程序的容器中运行。集装箱按预期运作。但是在Azure中,我对如何托管
感到困惑。

开始使用虚拟机"[smalldisk] Windows Server 2019 Datacenter Server Core with Containers"。

Project requires IaaS to host a docker image which has a dependency on RPC (It's MSDTC). Normally, the docker image is run in a container which uses the transparent network driver. Container operates as expected. However in Azure, I'm puzzled on how to host it.
Started with a VM "[smalldisk] Windows Server 2019 Datacenter Server Core with Containers".

尝试一个启用docker透明网络驱动程序。失败。因为,VM中的网络适配器不支持MAC欺骗。我的猜测是NSG分配IP地址存在技术问题。

Attempt one Enable docker Transparent Network driver. Fails. Because, the network adapter in the VM does not support MAC spoofing. My Guess is there are technical problems with the NSG allocating IP addresses.

尝试使用暴露的RCP端口的两个映射docker NAT。失败。 RPC不支持NAT。
港口135不能改变了。永远。

Attempt two Map docker NAT with exposed RCP ports. Fails. RPC does not support NAT.https://support.microsoft.com/en-us/help/248809/prb-dcom-does-not-work-over-network-address-translation-based-firewall Port 135 cannot be changed. ever.

下一次尝试将尝试通过VPN / IPSEC获取RPC。容器内的VPN客户端和SQL Server NSG中的VPN终端。

Next attempt would be try to get RPC over a VPN/IPSEC. VPN Client inside the container and VPN termination in SQL Server NSG.

不确定我需要选择哪些Azure资源来构建它。

Not sure what Azure resource(s) I need to choose to build this.

我对任何其他想法持开放态度如何使RPC工作。

I'm open to any other ideas on how to get RPC to work.

谢谢,

推荐答案

1)在Windows VM中运行docker

1) Run docker inside of a Windows VM

2)运行Azure Kubernetes服务

2) Run Azure Kubernetes Service

3)运行Azure容器实例 

3) Run Azure Container Instances 

如果您需要在Azure中运行容器,我会查看Azure Kubernetes服务。这样您就可以更快地移动,而不必自己处理设置环境。 

If you need to run containers in Azure I would check out Azure Kubernetes Service. This will allow you to get moving a lot faster rather than having to deal with setting up the environment yourself. 

https://docs.microsoft.com/en-us/azure/aks/intro-kubernetes

我们还有一些图片包含你发现的开箱即用的容器。 

We also have a few images that include containers out of the box as you found. 

另外需要注意的是,如果你能够在公共场所运行某些东西,你应该可以使用几乎同样的步骤让它在Azure中运行。 

Another thing to note is that if you are able to run something on prem you should be able to use almost the same steps to get it running in Azure. 

如果你能提供一些关于你想要实现的内部工作的更多细节,我很乐意在内部挖掘并在外部找到一些资源。 

If you could provide a bit more detail on the inner workings of what you are trying to achieve I am happy to dig around internally and externally to find you some resources. 


这篇关于如何使用带有RPC(远程过程调用)EPM(端点映射器 - 端口135)的Windows容器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-01 21:41