If you want to change a .NET Core project Docker target, for example from Windows to Linux, edit the project file and and change the value of property <DockerDefaultTargetOS>.
Change from Windows to Linux and vice versa.
Bruce Ng's software development blog
An archive of solutions of programming problems I have faced in my career
If you want to change a .NET Core project Docker target, for example from Windows to Linux, edit the project file and and change the value of property <DockerDefaultTargetOS>.
Change from Windows to Linux and vice versa.