Docker not starting on Windows 10

When I’m installing Docker and running on Windows 10 Enterprise edition with Virtualization enabled (checked both in BIOS as well as through task manager), it refuses to start

Attaching screenshot of Virtualization being enabled:

Docker logs with exception :

Version: 2.1.0.5 (40693)
Channel: stable
Sha1: 6fd76f1ada686b4e692d9cb9ec5bd7a9e74e275f
Started on: 2019/12/20 13:09:49.465
Resources: C:\Program Files\Docker\Docker\Resources
OS: Windows 10 Enterprise
Edition: Enterprise
Id: 1809
Build: 17763
BuildLabName: 17763.1.amd64fre.rs5_release.180914-1434
File: C:\Users\palivar\AppData\Local\Docker\log.txt
CommandLine: “C:\Program Files\Docker\Docker\Docker Desktop.exe”
You can send feedback, including this log file, at Issues · docker/for-win · GitHub
[13:09:49.677][GUI ][Info ] Starting…
[13:09:49.955][ComponentVersions ][Info ] Edition community
[13:09:50.063][ComponentVersions ][Info ] Edition community
[13:09:51.308][AppMigrator ][Info ] Current version: 5. Latest version: 5
[13:09:54.099][TrackingSettings ][Info ] Crash report and usage statistics are enabled
[13:09:54.104][SegmentApi ][Info ] Usage statistic: Identify
[13:09:54.391][SegmentApi ][Info ] Usage statistic: appLaunched
[13:09:56.690][ApplicationTemplatesTracking][Info ] Cannot list templates
[13:09:56.690][SegmentApi ][Info ] Usage statistic: eventTemplatesInfo
[13:09:56.690][SegmentApi ][Info ] Usage statistic: heartbeat
[13:09:57.112][NamedPipeClient ][Info ] Sending app/version()…
[13:09:57.140][NamedPipeClient ][Info ] Received response for app/version
[13:09:57.140][NamedPipeClient ][Info ] Sending app/migrate()…
[13:09:57.140][NamedPipeClient ][Info ] Received response for app/migrate
[19:33:01.972][ComponentVersions ][Info ] Edition community
[19:33:02.316][Linux ][Info ] Setting container engine status to Stopped
[19:33:02.394][BackendNamedPipeServer][Info ] Started
[13:09:57.155][NamedPipeClient ][Info ] Sending app/version()…
[13:09:57.135][NamedPipeServer ][Info ] app/version()
[13:09:57.155][NamedPipeClient ][Info ] Received response for app/version
[13:09:57.155][NamedPipeClient ][Info ] Sending version-packs/enable(community, Docker.Core.Settings)…
[13:09:57.135][NamedPipeServer ][Info ] app/version done in 00:00:00.
[13:09:57.140][NamedPipeServer ][Info ] app/migrate()
[13:09:57.140][NamedPipeServer ][Info ] app/migrate done in 00:00:00.
[13:09:57.155][NamedPipeServer ][Info ] app/version()
[13:09:57.155][NamedPipeServer ][Info ] app/version done in 00:00:00.
[13:09:57.171][NamedPipeClient ][Info ] Received response for version-packs/enable
[13:09:57.166][NamedPipeServer ][Info ] version-packs/enable(community, Docker.Core.Settings)
[13:09:57.171][NamedPipeServer ][Info ] version-packs/enable done in 00:00:00.0050500.
[13:09:57.212][NamedPipeClient ][Info ] Sending app/version()…
[13:09:57.212][NamedPipeClient ][Info ] Received response for app/version
[13:09:57.212][NamedPipeClient ][Info ] Sending engine/start(Linux, Docker.Core.Settings, Docker.Core.DaemonOptions, )…
[13:09:57.212][NamedPipeServer ][Info ] app/version()
[13:09:57.212][NamedPipeServer ][Info ] app/version done in 00:00:00.
[13:09:57.212][NamedPipeServer ][Info ] engine/start(Linux, Docker.Core.Settings, Docker.Core.DaemonOptions, )
[13:09:57.236][GoBackendProcess ][Info ] Starting C:\Program Files\Docker\Docker\Resources\com.docker.backend.exe -addr unix:\.\pipe\dockerBackendApiServer
[13:09:57.820][GoBackendProcess ][Info ] Started
[13:09:57.830][Linux ][Info ] Setting container engine status to Starting
[13:09:57.845][PowerShell ][Info ] Creating a Runspace Pool…
[13:09:58.051][GoBackendProcess ][Info ] ⇨ http server started on \.\pipe\dockerVpnKitControl
[13:09:58.052][GoBackendProcess ][Info ] ⇨ http server started on \.\pipe\dockerBackendApiServer
[13:09:58.086][GoBackendProcess ][Info ] ⇨ http server started on 00000000-0000-0000-0000-000000000000:00001002-facb-11e6-bd58-64006a7986d3
[13:09:58.086][GoBackendProcess ][Info ] time=“2019-12-20T13:09:58+05:30” msg=“started port-forwarding control server on \\.\pipe\dockerVpnKitControl”
[13:09:58.086][GoBackendProcess ][Debug ] time=“2019-12-20T13:09:58+05:30” msg=“socket.ListenVsock: 4098”
[13:09:58.086][GoBackendProcess ][Info ] listening on 62372 for data connection
[13:09:58.995][PowerShell ][Info ] Runspace Pool created (Min=1, Max=2)
[13:10:00.155][PowerMode ][Info ] Stop
[13:10:00.155][HyperV ][Info ] Stop
[13:10:00.167][PowerShell ][Info ] Run script with parameters: -Stop True -Verbose True -ErrorAction Stop
[13:10:02.476][HyperV ][Info ] Exporting function ‘Get-NetAdapter’.
[13:10:02.477][HyperV ][Info ] Exporting function ‘Enable-NetAdapter’.
[13:10:02.477][HyperV ][Info ] Exporting function ‘Disable-NetAdapter’.
[13:10:02.478][HyperV ][Info ] Exporting function ‘Restart-NetAdapter’.
[13:10:02.478][HyperV ][Info ] Exporting function ‘Rename-NetAdapter’.
[13:10:02.479][HyperV ][Info ] Exporting function ‘Set-NetAdapter’.
[13:10:02.555][HyperV ][Info ] Exporting function ‘New-NetAdapterAdvancedProperty’.
[13:10:02.558][HyperV ][Info ] Exporting function ‘Get-NetAdapterAdvancedProperty’.
[13:10:02.559][HyperV ][Info ] Exporting function ‘Set-NetAdapterAdvancedProperty’.
[13:10:02.560][HyperV ][Info ] Exporting function ‘Remove-NetAdapterAdvancedProperty’.
[13:10:02.561][HyperV ][Info ] Exporting function ‘Reset-NetAdapterAdvancedProperty’.
[13:10:02.604][HyperV ][Info ] Exporting function ‘Get-NetAdapterBinding’.
[13:10:02.605][HyperV ][Info ] Exporting function ‘Set-NetAdapterBinding’.
[13:10:02.605][HyperV ][Info ] Exporting function ‘Enable-NetAdapterBinding’.
[13:10:02.605][HyperV ][Info ] Exporting function ‘Disable-NetAdapterBinding’.
[13:10:02.637][HyperV ][Info ] Exporting function ‘Get-NetAdapterChecksumOffload’.
[13:10:02.637][HyperV ][Info ] Exporting function ‘Set-NetAdapterChecksumOffload’.
[13:10:02.645][HyperV ][Info ] Exporting function ‘Enable-NetAdapterChecksumOffload’.
[13:10:02.645][HyperV ][Info ] Exporting function ‘Disable-NetAdapterChecksumOffload’.
[13:10:02.673][HyperV ][Info ] Exporting function ‘Get-NetAdapterEncapsulatedPacketTaskOffload’.
[13:10:02.674][HyperV ][Info ] Exporting function ‘Set-NetAdapterEncapsulatedPacketTaskOffload’.
[13:10:02.675][HyperV ][Info ] Exporting function ‘Enable-NetAdapterEncapsulatedPacketTaskOffload’.
[13:10:02.676][HyperV ][Info ] Exporting function ‘Disable-NetAdapterEncapsulatedPacketTaskOffload’.
[13:10:02.708][HyperV ][Info ] Exporting function ‘Get-NetAdapterHardwareInfo’.
[13:10:02.729][HyperV ][Info ] Exporting function ‘Get-NetAdapterIPsecOffload’.
[13:10:02.730][HyperV ][Info ] Exporting function ‘Set-NetAdapterIPsecOffload’.
[13:10:02.730][HyperV ][Info ] Exporting function ‘Enable-NetAdapterIPsecOffload’.
[13:10:02.731][HyperV ][Info ] Exporting function ‘Disable-NetAdapterIPsecOffload’.
[13:10:02.760][HyperV ][Info ] Exporting function ‘Get-NetAdapterLso’.
[13:10:02.760][HyperV ][Info ] Exporting function ‘Set-NetAdapterLso’.
[13:10:02.760][HyperV ][Info ] Exporting function ‘Enable-NetAdapterLso’.
[13:10:02.761][HyperV ][Info ] Exporting function ‘Disable-NetAdapterLso’.
[13:10:02.796][HyperV ][Info ] Exporting function ‘Get-NetAdapterPowerManagement’.
[13:10:02.797][HyperV ][Info ] Exporting function ‘Set-NetAdapterPowerManagement’.
[13:10:02.797][HyperV ][Info ] Exporting function ‘Enable-NetAdapterPowerManagement’.
[13:10:02.797][HyperV ][Info ] Exporting function ‘Disable-NetAdapterPowerManagement’.
[13:10:02.821][HyperV ][Info ] Exporting function ‘Get-NetAdapterQos’.
[13:10:02.821][HyperV ][Info ] Exporting function ‘Set-NetAdapterQos’.
[13:10:02.822][HyperV ][Info ] Exporting function ‘Enable-NetAdapterQos’.
[13:10:02.822][HyperV ][Info ] Exporting function ‘Disable-NetAdapterQos’.
[13:10:02.851][HyperV ][Info ] Exporting function ‘Get-NetAdapterRdma’.
[13:10:02.851][HyperV ][Info ] Exporting function ‘Set-NetAdapterRdma’.
[13:10:02.851][HyperV ][Info ] Exporting function ‘Enable-NetAdapterRdma’.
[13:10:02.852][HyperV ][Info ] Exporting function ‘Disable-NetAdapterRdma’.
[13:10:02.873][HyperV ][Info ] Exporting function ‘Get-NetAdapterRsc’.
[13:10:02.873][HyperV ][Info ] Exporting function ‘Set-NetAdapterRsc’.
[13:10:02.873][HyperV ][Info ] Exporting function ‘Enable-NetAdapterRsc’.
[13:10:02.874][HyperV ][Info ] Exporting function ‘Disable-NetAdapterRsc’.
[13:10:02.901][HyperV ][Info ] Exporting function ‘Get-NetAdapterRss’.
[13:10:02.901][HyperV ][Info ] Exporting function ‘Set-NetAdapterRss’.
[13:10:02.902][HyperV ][Info ] Exporting function ‘Enable-NetAdapterRss’.
[13:10:02.902][HyperV ][Info ] Exporting function ‘Disable-NetAdapterRss’.
[13:10:02.924][HyperV ][Info ] Exporting function ‘Get-NetAdapterSriov’.
[13:10:02.924][HyperV ][Info ] Exporting function ‘Set-NetAdapterSriov’.
[13:10:02.925][HyperV ][Info ] Exporting function ‘Enable-NetAdapterSriov’.
[13:10:02.925][HyperV ][Info ] Exporting function ‘Disable-NetAdapterSriov’.
[13:10:02.951][HyperV ][Info ] Exporting function ‘Get-NetAdapterSriovVf’.
[13:10:02.964][HyperV ][Info ] Exporting function ‘Get-NetAdapterStatistics’.
[13:10:02.987][HyperV ][Info ] Exporting function ‘Get-NetAdapterVmq’.
[13:10:02.987][HyperV ][Info ] Exporting function ‘Set-NetAdapterVmq’.
[13:10:02.988][HyperV ][Info ] Exporting function ‘Enable-NetAdapterVmq’.
[13:10:02.988][HyperV ][Info ] Exporting function ‘Disable-NetAdapterVmq’.
[13:10:03.003][HyperV ][Info ] Exporting function ‘Get-NetAdapterVmqQueue’.
[13:10:03.037][HyperV ][Info ] Exporting function ‘Get-NetAdapterVPort’.
[13:10:03.059][HyperV ][Info ] Exporting function ‘Get-NetAdapterPacketDirect’.
[13:10:03.059][HyperV ][Info ] Exporting function ‘Set-NetAdapterPacketDirect’.
[13:10:03.060][HyperV ][Info ] Exporting function ‘Enable-NetAdapterPacketDirect’.
[13:10:03.060][HyperV ][Info ] Exporting function ‘Disable-NetAdapterPacketDirect’.
[13:10:03.586][HyperV ][Info ] Exporting function ‘Get-NetCompartment’.
[13:10:03.614][HyperV ][Info ] Exporting function ‘New-NetIPAddress’.
[13:10:03.614][HyperV ][Info ] Exporting function ‘Get-NetIPAddress’.
[13:10:03.614][HyperV ][Info ] Exporting function ‘Set-NetIPAddress’.
[13:10:03.615][HyperV ][Info ] Exporting function ‘Remove-NetIPAddress’.
[13:10:03.679][HyperV ][Info ] Exporting function ‘Get-NetIPInterface’.
[13:10:03.680][HyperV ][Info ] Exporting function ‘Set-NetIPInterface’.
[13:10:03.705][HyperV ][Info ] Exporting function ‘Get-NetIPv4Protocol’.
[13:10:03.705][HyperV ][Info ] Exporting function ‘Set-NetIPv4Protocol’.
[13:10:03.738][HyperV ][Info ] Exporting function ‘Get-NetIPv6Protocol’.
[13:10:03.739][HyperV ][Info ] Exporting function ‘Set-NetIPv6Protocol’.
[13:10:03.768][HyperV ][Info ] Exporting function ‘New-NetNeighbor’.
[13:10:03.769][HyperV ][Info ] Exporting function ‘Get-NetNeighbor’.
[13:10:03.769][HyperV ][Info ] Exporting function ‘Set-NetNeighbor’.
[13:10:03.769][HyperV ][Info ] Exporting function ‘Remove-NetNeighbor’.
[13:10:03.792][HyperV ][Info ] Exporting function ‘Get-NetOffloadGlobalSetting’.
[13:10:03.792][HyperV ][Info ] Exporting function ‘Set-NetOffloadGlobalSetting’.
[13:10:03.815][HyperV ][Info ] Exporting function ‘Get-NetPrefixPolicy’.
[13:10:03.860][HyperV ][Info ] Exporting function ‘New-NetRoute’.
[13:10:03.860][HyperV ][Info ] Exporting function ‘Find-NetRoute’.
[13:10:03.861][HyperV ][Info ] Exporting function ‘Get-NetRoute’.
[13:10:03.862][HyperV ][Info ] Exporting function ‘Set-NetRoute’.
[13:10:03.862][HyperV ][Info ] Exporting function ‘Remove-NetRoute’.
[13:10:03.892][HyperV ][Info ] Exporting function ‘Get-NetTCPConnection’.
[13:10:03.938][HyperV ][Info ] Exporting function ‘Get-NetTCPSetting’.
[13:10:03.939][HyperV ][Info ] Exporting function ‘Set-NetTCPSetting’.
[13:10:03.970][HyperV ][Info ] Exporting function ‘New-NetTransportFilter’.
[13:10:03.971][HyperV ][Info ] Exporting function ‘Get-NetTransportFilter’.
[13:10:03.972][HyperV ][Info ] Exporting function ‘Remove-NetTransportFilter’.
[13:10:03.996][HyperV ][Info ] Exporting function ‘Get-NetUDPEndpoint’.
[13:10:04.020][HyperV ][Info ] Exporting function ‘Get-NetUDPSetting’.
[13:10:04.021][HyperV ][Info ] Exporting function ‘Set-NetUDPSetting’.
[13:10:04.123][HyperV ][Info ] Exporting function ‘Get-NetIPConfiguration’.
[13:10:04.124][HyperV ][Info ] Exporting alias ‘gip’.
[13:10:04.167][HyperV ][Info ] Exporting function ‘Test-NetConnection’.
[13:10:04.167][HyperV ][Info ] Exporting alias ‘TNC’.
[13:10:04.678][HyperV ][Info ] VM DockerDesktopVM does not exist
[13:10:04.680][HyperV ][Debug ] [stop] took 00:00:04.5256994 to run
[13:10:04.680][OptimizeDisk ][Info ] Optimize
[13:10:04.680][PowerShell ][Info ] Run script…
[13:10:04.711][Moby ][Info ] Stop
[13:10:04.717][HyperVGuids ][Info ] Installing GUIDs…
[13:10:04.717][PowerMode ][Info ] Start
[13:10:04.720][HyperVGuids ][Info ] GUIDs installed
[13:10:04.724][HyperV ][Info ] Create
[13:10:04.724][Firewall ][Info ] Removing all existing rules…
[13:10:04.761][PowerShell ][Info ] Run script with parameters: -Create True -VhdPathOverride C:\ProgramData\DockerDesktop\vm-data\DockerDesktop.vhdx -VhdSize 68719476736 -SwitchSubnetAddress 10.0.75.0 -SwitchSubnetMaskSize 28 -PreferredIPAddress -CPUs 2 -Memory 2048 -IsoFile C:\Program Files\Docker\Docker\Resources\docker-desktop.iso -Verbose True -ErrorAction Stop
[13:10:04.815][Firewall ][Info ] All existing rules are removed.
[13:10:04.815][Firewall ][Info ] Opening ports for SMB…
[13:10:04.837][Firewall ][Info ] Ports are opened
[13:28:17.666][HyperV ][Info ] Using existing Switch: DockerNAT
[13:28:18.372][HyperV ][Info ] Setting docker switch IP address to 10.0.75.1
[13:28:18.481][HyperV ][Error ] Unable to create: System.Management.Automation.ActionPreferenceStopException: The running command stopped because the preference variable “ErrorActionPreference” or common parameter is set to Stop: Element not found.

at System.Management.Automation.Runspaces.AsyncResult.EndInvoke()
at System.Management.Automation.PowerShell.EndInvoke(IAsyncResult asyncResult)
at Docker.Core.PowerShell.<>c__DisplayClass13_0.b__0(IAsyncResult asyncResult)
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Docker.Core.PowerShell.d__13.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Docker.Core.PowerShell.d__6.MoveNext()
[13:28:18.482][Linux ][Error ] Failed to start: Unable to create - The running command stopped because the preference variable “ErrorActionPreference” or common parameter is set to Stop: Element not found.
. Let’s retry
[13:28:18.482][Linux ][Info ] Setting container engine status to Starting
[13:28:18.533][HyperV ][Info ] Hyper-V is running
[13:28:18.533][PowerMode ][Info ] Stop
[13:28:18.534][HyperV ][Info ] Stop
[13:28:18.535][PowerShell ][Info ] Run script with parameters: -Stop True -Verbose True -ErrorAction Stop
[13:28:18.565][HyperV ][Info ] VM DockerDesktopVM does not exist
[13:28:18.565][HyperV ][Debug ] [stop] took 00:00:00.0310013 to run
[13:28:18.565][OptimizeDisk ][Info ] Optimize
[13:28:18.565][PowerShell ][Info ] Run script…
[13:28:18.584][Moby ][Info ] Stop
[13:28:18.588][HyperV ][Info ] Destroy
[13:28:18.588][PowerShell ][Info ] Run script with parameters: -KeepVolume True -Destroy True -Verbose True -ErrorAction Stop
[13:28:18.620][HyperV ][Info ] VM DockerDesktopVM does not exist
[13:28:18.622][HyperV ][Info ] Destroying Switch DockerNAT…
[13:44:36.831][HyperV ][Info ] Removing VM DockerDesktopVM…
[13:44:36.845][HyperV ][Debug ] [destroy] took 00:16:18.2566260 to run
[13:44:36.846][Firewall ][Info ] Closing ports…
[13:44:36.846][Firewall ][Info ] Removing all existing rules…
[13:44:36.876][Firewall ][Info ] All existing rules are removed.
[13:44:36.876][Firewall ][Info ] Ports are closed
[13:44:36.876][HyperVGuids ][Info ] Removing GUIDs…
[13:44:36.879][HyperVGuids ][Info ] GUIDs removed
[13:44:36.879][HyperV ][Info ] Create
[13:44:36.885][PowerShell ][Info ] Run script with parameters: -Create True -VhdPathOverride C:\ProgramData\DockerDesktop\vm-data\DockerDesktop.vhdx -VhdSize 68719476736 -SwitchSubnetAddress 10.0.75.0 -SwitchSubnetMaskSize 28 -PreferredIPAddress -CPUs 2 -Memory 2048 -IsoFile C:\Program Files\Docker\Docker\Resources\docker-desktop.iso -Verbose True -ErrorAction Stop
[13:48:39.627][HyperV ][Info ] Creating Switch: DockerNAT…
[14:09:56.727][SegmentApi ][Info ] Usage statistic: heartbeat
[14:35:21.094][HyperV ][Info ] Switch created.
[14:35:21.295][HyperV ][Info ] Setting docker switch IP address to 10.0.75.1
[14:35:21.321][HyperV ][Error ] Unable to create: System.Management.Automation.ActionPreferenceStopException: The running command stopped because the preference variable “ErrorActionPreference” or common parameter is set to Stop: Element not found.

at System.Management.Automation.Runspaces.AsyncResult.EndInvoke()
at System.Management.Automation.PowerShell.EndInvoke(IAsyncResult asyncResult)
at Docker.Core.PowerShell.<>c__DisplayClass13_0.b__0(IAsyncResult asyncResult)
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Docker.Core.PowerShell.d__13.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Docker.Core.PowerShell.d__6.MoveNext()
[14:35:21.321][Linux ][Info ] Setting container engine status to FailedToStart
[14:35:21.327][NamedPipeServer ][Error ] Unable to execute engine/start: Unable to create - The running command stopped because the preference variable “ErrorActionPreference” or common parameter is set to Stop: Element not found.
at Docker.Backend.HyperV.HandleException(String action, Exception ex)
at Docker.Backend.HyperV.RunScript(String action, Dictionary`2 parameters, PowerShellConfiguration config)
at Docker.Backend.HyperV.Create(Settings settings)
at Docker.Backend.ContainerEngine.Linux.Start(Settings settings, String daemonOptions, Credential credential)
[14:35:21.789][NamedPipeClient ][Error ] Unable to send engine/start: Unable to create - The running command stopped because the preference variable “ErrorActionPreference” or common parameter is set to Stop: Element not found.

[14:35:21.790][Notifications ][Error ] Unable to create - The running command stopped because the preference variable “ErrorActionPreference” or common parameter is set to Stop: Element not found.

[14:35:21.827][NamedPipeClient ][Info ] Sending app/version()…
[14:35:21.828][NamedPipeClient ][Info ] Received response for app/version
[14:35:21.828][NamedPipeClient ][Info ] Sending diagnostics/gather()…
[14:35:21.827][NamedPipeServer ][Info ] app/version()
[14:35:21.827][NamedPipeServer ][Info ] app/version done in 00:00:00.
[14:35:21.828][NamedPipeServer ][Info ] diagnostics/gather()
[14:38:41.021][NamedPipeClient ][Info ] Received response for diagnostics/gather
[14:38:41.021][NamedPipeServer ][Info ] diagnostics/gather done in 00:03:19.1928143.
[15:09:56.734][SegmentApi ][Info ] Usage statistic: heartbeat
[16:09:56.772][SegmentApi ][Info ] Usage statistic: heartbeat
[16:15:49.218][ErrorReportWindow ][Info ] Open logs

Same problem on Windows 10 Professional. Version Version 2.0.0.0-win78 (28905) works with no problem, This version refuse to start.

The problem in may case, was dued to the wrong version of System.Net.Http. I resolved doing this: http://gianluigi.sellitto.it/2020/01/docker-and-system-net-http/