How to connect Windows Server 2022 image and container (docker container pulled up by image) released by Microsoft on dockerhub using RDP

zb g 6 Reputation points


I successfully pulled the container down and ran it. But I don't know how to connect this run container with RDP (Remote Desktop).

Here are some actions I've tried:

  1. It is normal for the host to connect to a conventional windows virtual machine using RDP
  2. Ping is normal
  3. I learned that in the old version, you can use PowerShell to try to let the firewall release port 3389, but in this version, doing so seems to report an error
Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
3,051 questions
Microsoft Technologies based on the .NET software framework.
635 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
8,224 questions
No comments
{count} votes