The IIS web management console is a perfect example. Remote access is not enabled by default in the Windows base images, but you can configure it with a simple PowerShell script. Firstly, the web management feature needs to be installed:
Import-Module servermanagerAdd-WindowsFeature web-mgmt-service
Then, you need to enable remote access with a registry setting and start the web management Windows service:
Set-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\WebManagement\Server -Name EnableRemoteManagement -Value 1Start-Service wmsvc
You also need an EXPOSE instruction in the Dockerfile to allow traffic into the management service on the expected port 8172. This will allow you to connect, but IIS management console requires user ...