<p>There is an old COM-Object that we need to use (no way around it) for an application that is planned to be in a Kubernetes container.
Is there any way to achieve this and if yes how?</p>
<p>I tried to research this, but with no results as of now.</p>

Tai Kahar
<p>Yes, it is possible to add the COM-Object to the Kubernetes windows container only. COM is a technology that allows objects to interact across process and computer boundaries as easily as within a single process. COM enables this by specifying that the only way to manipulate the data associated with an object is through an interface on the object.</p>
<p>Since <a href="https://forums.docker.com/t/windows-application-32-bit-com-dll-registration/47205/6" rel="nofollow noreferrer">COM Object Model</a> is developed by Windows, You need to add the COM Object to the Windows container and add reference to the COM object using regsvr32. After creating a Dockerfile,</p>
<ul>
<li>Copy external DLLs into the container (the COM DLLs).</li>
<li>Register the DLLs using regsvr32 in the container.</li>
<li>Perform msbuild.</li>
</ul>
<p>Refer to the <a href="https://learn.microsoft.com/en-us/windows/win32/com/com-objects-and-interfaces" rel="nofollow noreferrer">documentation</a> for more information on COM-Objects.</p>
