Docker Desktop cannot be installed in AWS

Docker desktop can’t be installed in AWS because the AWS EC2 instance do not support nested virtualization. How to run this on an EC2 instance that is not a bare metal instance? We only have access to the M5, C5, and R5 instance types.
Is there a path around this problem?

You did your research and summarize it in the first sentence. I am not sure what else to say here.

Why run Docker Desktop on AWS? What do you want to achieve?

We needed to download some containers from a vendor website. According to the vendor documentation, we had to use Docker. As stated, we are in an AWS environment, so no go there. We figured out that we can do Pull from a CLI to get the containers we need. Thanks for replying.

Docker Desktop is suitable for local developer machines.

ECS, EKS, or docker-ce on an ec2 instance get the job done and will work like a charm.