I have a .NET Core Web Application project where I chose the incorrect OS under the "Enable Docker Support" checkbox:
How do I change this for an existing project? And to be clear, I want to target linux, not "Switch to Windows Containers..." in docker.
This turned out to be easy, and I did it through editing the csproj file: Changed <DockerDefaultTargetOS>Windows</DockerDefaultTargetOS>
to <DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
and reload.
I am still not sure where you would do this from Visual Studio (if it possible).