.NET Framework Docker images support for Windows Server, version 20H2 #925
mthalman
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
.NET Framework Docker images support for Windows Server, version 20H2
With the release of Windows Server, version 20H2on October 20, 2020, .NET Framework Docker images have been published for Server Core, version 20H2.
Details
.NET Framework tags containing the substring
windowsservercore-20H2
are now available. You can find the full set of tags on Docker Hub..NET Framework multi-arch tags, such as
4.8
, have been updated to usewindowsservercore-20H2
images if your host is Windows Server, version 20H2 or higher.Breaking Change: Default Shell
With this release, a change to the default shell was made compared to previous Windows versions. In previous versions, PowerShell was used as the default shell for the
aspnet
,sdk
, andwcf
images. In the 20H2 release and subsequent releases going forward,cmd
will be used as the default shell. This change does not impactruntime
images since they have always been set to usecmd
as the shell.This does not impact how a container is run. Rather, it impacts what shell is used to execute commands within a Dockerfile that is based on a 20H2 image. If the commands that you run in your Dockerfile expect the shell to be set to PowerShell and are impacted by this change, it is recommended that you add the following instruction to your Dockerfile before running such commands:
See #646 for more details on this change.
Impacted Repos
Beta Was this translation helpful? Give feedback.
All reactions