Most versions of Docker require nested virtualization to properly function. On Windows based instances, you cannot use Docker Desktop Editions/CE/ etc (this includes EC2 and WorkSpaces) normally. This is why EC2 offers container enabled instances. On linux instances (both EC2 and WorkSpaces), Docker can be used without nested virt, but performance will be subpar.
In general, customers should look to use container enabled instances and/or container services (ECS/EKS) to address their container needs. They can access/develop against them using standard tooling running on a WorkSpace or EC2 instance remotely.
Does Amazon Workspace support docker on Windows 10 ?asked 3 years ago
AWS IoT GreenGrass V2 "Docker application manager" support for private registriesAccepted Answerasked 2 days ago
One-shot docker containers using Docker composeasked 10 months ago
Is there a way to remove prefix from docker-compose log in Elastic Beanstalk?asked 8 months ago
Docker Alternatives for SAM CLIasked 7 months ago
Does WorkSpaces/EC2 Support Docker?Accepted Answerasked 3 years ago
`docker build` timeout on AWS Elastic Beanstalkasked 5 months ago
GStreamer in DockerAccepted Answerasked 8 months ago
Customizing the Docker Run Command on Elastic Beanstalkasked 9 months ago
Docker Hub Login for AWS CodeBuild (Docker Hub Limit)?Accepted Answerasked 2 years ago