microsoft / navcontainerhelper

Official Microsoft repository for BcContainerHelper, a PowerShell module, which makes it easier to work with Business Central Containers on Docker.
MIT License
379 stars 243 forks source link

Issue creating new container #982

Closed Bssivivek closed 4 years ago

Bssivivek commented 4 years ago

I use below poweshell comamnd to pull the latest image docker pull mcr.microsoft.com/businesscentral/sandbox:us-ltsc2019

Whe i try to use below command to create new container, i got below error

New-NavContainer -containerName sbmem -accept_eula -auth NavUserPassword -imageName mcr.microsoft.com/businesscentral/sandbox:us-ltsc2019 -licenseFile "C:\Work\D365BC-V15.flf" -updatehosts -includeAL

image

WIndows OS information: Edition: Windows 10 Enterprise Version: 1903

please help!!

freddydk commented 4 years ago

Reset your docker installation to factory defaults and try again would be my suggestion.

Bssivivek commented 4 years ago

Hi fredy - iam still getting the same error. I did factory reset and also uninstalled everything and reinstalled it again. I am still getting te same error. It says - required feature is not installed but it doesnt say whats the feature that it is missing. if you can point me in right direction, that should be great.

freddydk commented 4 years ago

Did it use to work on this machine? Can you start other containers? Could you paste the full output of the container generation here? Is HyperV installed?

AndriusAndrulevicius commented 4 years ago

this one is caused by HyperV not being enabled on the machine (99% of the time)