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
2021-11-09T11:27:23.4+00:00

05253448-011d-4910-a443-1f42bd1a3d66

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
.NET
.NET
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