Closed TheDenSter closed 5 years ago
Could you tryg to install the NAVcontainerhelper and try something like this?
$Licensefile = "C:\Docker\20181122 -6197658 - NAVspecialist 365bc.flf" $ImageName = "mcr.microsoft.com/businesscentral/onprem:cu2-w1" $ContainerName = "nav365bc" $PlainTextPw = "Passw0rd" $Credential = New-Object -TypeName PSCredential -ArgumentList $env:USERNAME,(ConvertTo-SecureString -String $PlainTextPw -AsPlainText -Force) docker pull $ImageName New-NavContainer -containerName $ContainerName -memoryLimit "3g" -alwaysPull -accept_eula -accept_outdated -auth NavUserPassword -Credential $Credential -imageName $ImageName -licenseFile $Licensefile -includeCSide -shortcuts Desktop -useBestContainerOS -updateHosts -verbose
Restart powershell - then it works. Updating NavContainerHelper requires you to restart PowerShell. You have 0.4.2.4 - which is the version, where I accidently defaulted isolation wrongly (beginning of your error it says: No hypervisor present meaning that it defaults to hyperv) 0.4.2.4 was only out there for ~8 hours or so. You are the first person I hear running into this, my sincere appologies.
You know normally I always try restarting my VM altogether when I run into issues like these, but I must not have done that this time. It worked right away this morning. Thanks for the quick reply Freddy, I appreciate it, and apologies are never needed :)
My laptop is Windows 10 Pro, I have a VM with Windows Server 2016. I've used this setup for about 18 months now, and as I was doing development, all of a sudden my container was no longer responding. What I usually do is recreate my container. This particular container I've been using for about a week, recreated it 2-3 times to run through my install process, and now when I tried to recreate it, I get this message: Re-installed Docker, updated navcontainerhelper, still getting this error message. I'm not sure what to look for or how to troubleshoot this.