Using host visual studio license to run build tools in windows container?

toast12 1 Reputation point

I have a host that has licensed Visual Studio 2019. I also have docker on the host and am building a container. I want to access host VS build tools from within the container. Wondering if I can use the host's license key to use build tools within my container? I don't want to install build tools directly in my container, since I am having problems doing that and also I am not sure if I will break any licensing terms since I will basically create a docker image and make it available for others to use. If my docker base can verify that the host is licensed for Visual Studio, I can then mount build tools from host into container. But am not sure if this case is covered by the supplemental license. Please suggest

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
35,946 questions
{count} votes