Unable to install MSMQ services in the container

Hi,

I’m new to Docker. Currently i’m working on containerizing asp.net application along with MSMQ service enabled in the container.

I’m facing issue which pertain to MSMQ. When i tried install msmqservice.exe in the container using Powershell command which gives following error message UnsupportedFormatNameOperation:The specified format name does not support the requested operation. For example, a direct queue format name cannot be deleted. I’m not sure where i’m doing wrong as it works perfectly on the host operating system (windows 2019 server)

Steps i performed before containerization are

  1. Created the private message queues at the host (Windows 2019 server)
  2. Windows core image used is - mcr.microsoft.com/dotnet/framework/samples:aspnetapp

Thanks you
Sandesh