You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New-SmbMapping, net use and related commands fail frequently when run in containers on Windows Server Datacenter with Containers 2019 (1809, 1803, and 1709) Hosts when they contain HotFixes from February 2019 and the Docker image used contains HotFixes from March 2019.
We see that the presence of HotFix KB4489899 on the Docker image but not on the Host, is correlated to the failure but have not confirmed whether it is the specific cause.
Steps to reproduce the issue:
Create a Windows Server 2019 Datacenter Host VM (which contains the February HotFixes)
$ az vm create -n febVM -g REDACTED --image MicrosoftWindowsServer:WindowsServer:2019-Datacenter-with-Containers-smalldisk:2019.0.20190214
From an RDP connection to the VM, open an Adminstrator Powershell terminal for the following steps
@micahyoung that is how process isolation mode on Windows containers works. They call host machine kernel directly so any kernel related hotfixes must be installed to host machine.
If I recall correctly on early preview versions of Windows container there was limitation that host and container image version needed to share even patch level but that would make upgrade process very tricky which why it is removed.
Description
New-SmbMapping
,net use
and related commands fail frequently when run in containers on Windows Server Datacenter with Containers 2019 (1809, 1803, and 1709) Hosts when they contain HotFixes from February 2019 and the Docker image used contains HotFixes from March 2019.We see that the presence of HotFix
KB4489899
on the Docker image but not on the Host, is correlated to the failure but have not confirmed whether it is the specific cause.Steps to reproduce the issue:
Create a Windows Server 2019 Datacenter Host VM (which contains the February HotFixes)
From an RDP connection to the VM, open an Adminstrator Powershell terminal for the following steps
Confirm February HotFixes on Host:
Install docker
Confirm March HotFixes on the Docker image
mcr.microsoft.com/windows/servercore:1809-KB4489899
:Repeatedly attempt to start a Docker container (with March HotFixes) and run
net use
.Start-sleep 1
is used to rule out unrelated container startup race conditions.Describe the results you received:
net use
frequently (but not always) displays an error:net use ...
orNew-SmbMapping ...
commands that attempt to make a connection fail similarly.Describe the results you expected:
net use
to always display the default output:net use
andNew-SmbMapping
to successfully establish SMB connectionsAdditional information you deem important (e.g. issue happens only occasionally):
Output of
docker version
:Output of
docker info
:Additional environment details (AWS, VirtualBox, physical, etc.):
Microsoft Windows Server 2019 Datacenter
/10.0.17763 N/A Build 17763
18.09.5
MicrosoftWindowsServer:WindowsServer:2019-Datacenter-with-Containers-smalldisk:2019.0.20190214
mcr.microsoft.com/windows/servercore:1809-KB4489899
The text was updated successfully, but these errors were encountered: