Visual Studio 2019 inside Docker?

Good morning

The context: I need to solve a practice exam previously at home, and I only have one week to build a console application with many use cases. I have Microsoft Technologies knowledge, so I need to use Visual studio console application.

One of the exam requirements says that I must build and run the application inside a docker container and then send the container to the teacher by email, but I am not sure if It’s possible to use the Visual Studio 2019 development environment inside docker. There is few information about thit.

I have installed a Windows Server 2019 instance in AWS with Visual Studio 2019

Could you help me please to answer if its possible to use Visual Studio 2019 development environment inside Docker??

Thanks in advance!