更新Windows容器 [英] Update windows containers
问题描述
我对容器的Windows更新有疑问。我假设我正在使用带有2019个容器的Windows Server 2019。
i got a question about windows updates for containers. let's assume I'm using windows server 2019 with 2019 containers.
如果我运行(在shell或我的docker文件中):
if i run ( in the shell or in my docker file) :
docker拉mcr.microsoft.com/windows/servercore:ltsc2019
docker pull mcr.microsoft.com/windows/servercore:ltsc2019
我将获得最新版本的Windows 2019容器,现在让我们说一周后有一些新版本的Windows更新。假设我的计算机上仍然有旧图像 - 它会下载整个图像还是只下载更新的delta。
I'll get the latest version of windows 2019 container , now let's say after a week there is a new version with some windows update. assuming if still have the old image on my computer - will it download the entire image or only the updated delta.
换句话说:Windows更新是作为单独的图层安装的,还是他们作为基本层的一部分应用?
in other words : is windows updates are installed as a separate layer , or are they applied as part of the basic layer ?
推荐答案
下个月它将是不同的图像,但标记的方式是`ltsc2019`,如果你需要特定版本的图像那么你需要绑定到KB标签而不是`ltsc2019`。
It will be different image next month but tagged the same way `ltsc2019`, if you need specific version of the image then you need to bind to KB tag instead of `ltsc2019`.
这篇关于更新Windows容器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!