Docker Community Forums

Share and learn in the Docker community.

Unable to install MSMQ - Server in docker container

Hi Team,

I have been trying to install MSMQ Message queuing services (MSMQ-Server) through powershell in my docker container.
my powershell script :

Enable-WindowsOptionalFeature -Online -FeatureName MSMQ-Server -All
–> Enable-WindowsOptionalFeature : Enable-WindowsOptionalFeature failed. Error code = 0x800f0922 At line:1 char:1 + Enable-WindowsOptionalFeature -Online -FeatureName MSMQ-Server -All + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: () [Enable-WindowsOptionalFeature], COMException + FullyQualifiedErrorId : Microsoft.Dism.Commands.EnableWindowsOptionalFeatureCommand

after further investigating realized my container OS created is Windows Server 2016 DataCenter and may be hence it is not allowing me to install it in that system.

  1. Can anyone please suggest how to create a docker container with OS Windows Server 2016 Standard ?
    –> I have tried “From” but it created Windows Server 2016 DataCenter
  2. Is there a any way to connect to Container Host remotely through RDP ? Or any other means ?
    –> I know to run scripts in container machine but wanted to connect to Container for debugging purpose.

Any suggestion is appreciated.