Closed mthalman closed 4 years ago
@mthalman
Hello,
I would like to know why "4.8-20200211-windowsservercore-ltsc2016" has not received the KB update while 4.7.2 and down where updated twice since February?
Also, why kb4550929 was updated directly in the dockerfile if "mcr.microsoft.com/windows/servercore:ltsc2016" is version 10.0.14393.3630 and matches https://support.microsoft.com/en-ca/help/4550929/windows-10-update-kb4550929?
Thank you!
@nrodrigues1 - Which KB are you expecting for 4.8 on 2016? The one that is currently installed, KB4534126, is the latest 4.8 security update for that OS. The other Dockerfiles explicitly install KB4550929 because they're also installing a version of .NET Fx. After installing .NET Fx, it needs to be patched with the latest Windows LCU.
@mthalman
Thank you for the great answer sir!
@nrodrigues1 Shouldn't the base images have been updated per the Image Update Policy. I ask because we're having issues after KB4550929 was applied to the host OS (on a test server) and according to Windows container version compatibility:
Windows Server containers currently don't support scenarios where Windows Server 2016-based containers run in a system where the revision numbers of the container host and the container image are different.
@aidanfolkes - As per the policy, the images do get rebuilt when a new base Server Core image is made available. And as part of that, the latest security KB is applied to the images. What image tag are you using and how does its version compare to your host?
@mthalman Image tag is 4.8-windowsservercore-ltsc2016 Host version is 10.0.14393.3630 Container version is 10.0.14393.3568 I'm beginning to suspect that we need to add --pull to the docker build command though.
Host version is 10.0.14393.3630 Container version is 10.0.14393.3568 I'm beginning to suspect that we need to add --pull to the docker build command though.
Yes, using --pull
would definitely be recommended to ensure you're using the latest image. The latest version of the image is using version 10.0.14393.3630.
That appears to be the problem. Thanks.
Patch Tuesday Release
Tasks
dev
branch:3.5
runtime version.3.5/runtime
Dockerfile for the new Windows version so that the patch is applied (this can be copied from another3.5/runtime
Dockerfile in a section labeledApply latest patch
)update-dependencies
tool to update all the necessary files:dotnet run --project .\eng\update-dependencies --datestamp-all <YYYYMMDD>
[x] Run the
Get-BaseImageStatus.ps1
script and wait until the Windows images have been updated as part of the Windows Patch Tuesday release process. This script will display when the dependent Windows images were last updated. Wait until all the images show that they have been recently updated. "Recently updated" amounts to be having been updated within the past week or so; images from a month ago should be considered to be the old version../eng/common/Get-BaseImageStatus.ps1 -Continuous
Last Modified
field has been updated in Docker Hub for microsoft-dotnet-framework-samples