So I’ve been having issues getting any network connection in Docker. After checking the forums, I headed over to the troubleshooting page that was recommended. Get-NetNat DOES show a ghost DockerNAT adapter, but the output of Remove-NetNat is:
PS C:\WINDOWS\system32> Remove-NetNat
Confirm
Are you sure you want to perform this action?
Performing operation Delete on Target DockerNAT PolicyStore Local
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is “Y”): Y
Remove-NetNat : The requested operation is not supported.
At line:1 char:1
Remove-NetNat
+ CategoryInfo : InvalidOperation: (MSFT_NetNat (InstanceID = "DockerNAT;0"):root/StandardCimv2/MSFT_NetNat) [Remove-NetNat], CimException
+ FullyQualifiedErrorId : Windows System Error 50,Remove-NetNat