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

Error while creaing BC container (New-BcContainer) #3124

Open faranmahboob opened 1 year ago

faranmahboob commented 1 year ago

Describe the issue

I am running Run-AlValidation command but it gets stopped at creating new container and results in an error. The error gets also reproduced wile running New-BcContainer Command.

ERROR New-BcContainer Telemetry Correlation Id: ed1f319b-7878-4cae-b098-063e3c65bd50 Unexpected error while validating app. Error is: docker: Error response from daemon: container c8862b4b4cbce7ae707fcc993b676cbfb7c0fad6d1a4b78151e9a9a7b2648ee3 encountered an error during hcs::System::Star t: failure in a Windows system call: The virtual machine or container exited unexpectedly. (0xc0370106). ExitCode: 125

Scripts used to create container and cause the issue


$validationResults = Run-AlValidation `
    -apps "D:\Repos\AppName.app"
    -affixes "SM"
    -countries "dk"

**Full output of scripts**

PS C:\WINDOWS\system32> $validationResults = Run-AlValidation `
    -apps "D:\Repos\AppName.app"
    -affixes "SM"
    -countries "dk"
cmdlet Run-AlValidation at command pipeline position 1
Supply values for the following parameters:
countries: dk
  _____                               _                
 |  __ \                             | |               
 | |__) |_ _ _ __ __ _ _ __ ___   ___| |_ ___ _ __ ___ 
 |  ___/ _` | '__/ _` | '_ ` _ \ / _ \ __/ _ \ '__/ __|
 | |  | (_| | | | (_| | | | | | |  __/ |_  __/ |  \__ \
 |_|   \__,_|_|  \__,_|_| |_| |_|\___|\__\___|_|  |___/

Container name                  bcserver
Credential                      admin/Ruto7815
MemoryLimit                     8G
validateVersion                 
validateCurrent                 False
validateNextMinor               False
validateNextMajor               False
SasToken                        Not Specified
countries                       dk
validateCountries               dk
affixes                         
supportedCountries              
ObsoleteTagMinAllowedMajorMinor 
vsixFile                        
Install Apps
- None
Previous Apps
- None
Apps
- D:\Repos\AppName.app
  _____       _                      _                         _   _  __           _       
 |  __ \     | |                    (_)                       | | (_)/ _|         | |      
 | |  | | ___| |_ ___ _ __ _ __ ___  _ _ __   ___    __ _ _ __| |_ _| |_ __ _  ___| |_ ___ 
 | |  | |/ _ \ __/ _ \ '__| '_ ` _ \| | '_ \ / _ \  / _` | '__| __| |  _/ _` |/ __| __/ __|
 | |__| |  __/ |_  __/ |  | | | | | | | | | |  __/ | (_| | |  | |_| | || (_| | (__| |_\__ \
 |_____/ \___|\__\___|_|  |_| |_| |_|_|_| |_|\___|  \__,_|_|   \__|_|_| \__,_|\___|\__|___/

Found https://bcartifacts.azureedge.net/sandbox/22.3.58346.58850/dk
Using https://bcartifacts.azureedge.net/sandbox/22.3.58346.58850/dk
  _____       _                      _       _                   _                           _                       
 |  __ \     | |                    (_)     (_)                 | |                         | |                      
 | |  | | ___| |_ ___ _ __ _ __ ___  _ _ __  _ _ __   __ _    __| | ___ _ __   ___ _ __   __| | ___ _ __   ___ _   _ 
 | |  | |/ _ \ __/ _ \ '__| '_ ` _ \| | '_ \| | '_ \ / _` |  / _` |/ _ \ '_ \ / _ \ '_ \ / _` |/ _ \ '_ \ / __| | | |
 | |__| |  __/ |_  __/ |  | | | | | | | | | | | | | | (_| | | (_| |  __/ |_) |  __/ | | | (_| |  __/ | | | (__| |_| |
 |_____/ \___|\__\___|_|  |_| |_| |_|_|_| |_|_|_| |_|\__, |  \__,_|\___| .__/ \___|_| |_|\__,_|\___|_| |_|\___|\__, |
                                                      __/ |            | |                                      __/ |
                                                     |___/             |_|                                     |___/ 
Extracting C:\ProgramData\BcContainerHelper\d0ba2589-e3c9-4649-a584-fdd2810d454c\AppName.app
Validating against Current Version (22.3)
Additionally validating against application dependency (17.0)

  _____       _ _ _                                          _        _                            
 |  __ \     | | (_)                                        (_)      (_)                           
 | |__) |   _| | |_ _ __   __ _    __ _  ___ _ __   ___ _ __ _  ___   _ _ __ ___   __ _  __ _  ___ 
 |  ___/ | | | | | | '_ \ / _` |  / _` |/ _ \ '_ \ / _ \ '__| |/ __| | | '_ ` _ \ / _` |/ _` |/ _ \
 | |   | |_| | | | | | | | (_| | | (_| |  __/ | | |  __/ |  | | (__  | | | | | | | (_| | (_| |  __/
 |_|    \__,_|_|_|_|_| |_|\__, |  \__, |\___|_| |_|\___|_|  |_|\___| |_|_| |_| |_|\__,_|\__, |\___|
                           __/ |   __/ |                                                 __/ |     
                          |___/   |___/                                                 |___/      

Pulling mcr.microsoft.com/businesscentral:10.0.20348.1850-filesonly

Pulling generic image took 4910 seconds

   _____                _   _                               _        _                 
  / ____|              | | (_)                             | |      (_)                
 | |     _ __ ___  __ _| |_ _ _ __   __ _    ___ ___  _ __ | |_ __ _ _ _ __   ___ _ __ 
 | |    | '__/ _ \/ _` | __| | '_ \ / _` |  / __/ _ \| '_ \| __/ _` | | '_ \ / _ \ '__|
 | |____| | |  __/ (_| | |_| | | | | (_| | | (__ (_) | | | | |_ (_| | | | | |  __/ |   
  \_____|_|  \___|\__,_|\__|_|_| |_|\__, |  \___\___/|_| |_|\__\__,_|_|_| |_|\___|_|   
                                     __/ |                                             
                                    |___/                                              

Creating container for country dk
BcContainerHelper is version 5.0.4
BcContainerHelper is running as administrator
HyperV is Enabled
UsePsSession is True
Host is Microsoft Windows 11 Enterprise - 10.0.22621.1992
Docker Client Version is 24.0.2
Docker Server Version is 24.0.2
Removing Desktop shortcuts
Downloading artifact /sandbox/22.3.58346.58850/dk
Downloading C:\Users\faran.mahboob\AppData\Local\Temp\fb1c0cb2-c700-490e-adc0-8cefc5b56c5c.zip
Downloading using WebClient
Unpacking artifact to tmp folder using 7zip
Downloading platform artifact /sandbox/22.3.58346.58850/platform
Downloading C:\Users\faran.mahboob\AppData\Local\Temp\7398f09b-233b-43ad-821a-db86b5be0555.zip
Downloading using WebClient
Unpacking platform artifact to tmp folder using 7zip
Downloading Prerequisite Components
Downloading c:\bcartifacts.cache\sandbox\22.3.58346.58850\platform\Prerequisite Components\IIS URL Rewrite Module\rewrite_2.0_rtw_x64.msi
Downloading using WebClient
Downloading c:\bcartifacts.cache\sandbox\22.3.58346.58850\platform\Prerequisite Components\DotNetCore\DotNetCore.1.0.4_1.1.1-WindowsHosting.exe
Downloading using WebClient
INFO: Patching wrong version of Microsoft.IdentityModel.Clients.ActiveDirectory.dll in c:\bcartifacts.cache\sandbox\22.3.58346.58850\platform\Applications\testframework\TestRunner\Internal\Microsoft.Identi
tyModel.Clients.ActiveDirectory.dll
Fetching all docker images
Fetching all docker volumes
Using image mcr.microsoft.com/businesscentral:10.0.20348.1850-filesonly
Creating Container bcserver
Style: sandbox
Multitenant: Yes
Version: 22.3.58346.58850
Platform: 22.0.58828.0
Generic Tag: 1.0.2.14
Container OS Version: 10.0.20348.1850 (ltsc2022)
Host OS Version: 10.0.22621.1992 (22H2)
Using process isolation
Using locale da-DK
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
Downloading C:\ProgramData\BcContainerHelper\Extensions\bcserver\Microsoft.VisualStudio.Services.VSIXPackage.vsix
Downloading using WebClient
Additional Parameters:
--env customNavSettings=EnableTaskScheduler=True
Files in C:\ProgramData\BcContainerHelper\Extensions\bcserver\my:
- AdditionalOutput.ps1
- MainLoop.ps1
- SetupVariables.ps1
- updatehosts.ps1
Creating container bcserver from image mcr.microsoft.com/businesscentral:10.0.20348.1850-filesonly
358f62712f21204c5be1117a9ae9c72674137eb1c32ae3898a84620c24a1e59b
New-BcContainer Telemetry Correlation Id: 36fdb0ea-0f07-429f-a178-60b8e0bcc464
Unexpected error while validating app. Error is: docker: Error response from daemon: container 358f62712f21204c5be1117a9ae9c72674137eb1c32ae3898a84620c24a1e59b encountered an error during hcs::System::Star
t: failure in a Windows system call: The virtual machine or container exited unexpectedly. (0xc0370106).
ExitCode: 125
Commandline: docker run --volume "c:\bcartifacts.cache:c:\dl" --label nav= --env isBcSandbox=Y --label version=22.3.58346.58850 --label platform=22.0.58828.0 --label country=DK --env artifactUrl=https://bc
artifacts.azureedge.net/sandbox/22.3.58346.58850/dk --env multitenant=Y --env licenseFile="" --name bcserver --hostname bcserver --env auth=NavUserPassword --env username="admin" --env ExitOnError=N --env 
locale=da-DK --env databaseServer="" --env databaseInstance="" --volume "C:\ProgramData\BcContainerHelper:C:\ProgramData\BcContainerHelper" --volume "C:\ProgramData\BcContainerHelper\Extensions\bcserver\my
:C:\Run\my" --isolation process --restart unless-stopped --env filesOnly=True --memory 8G --env enableApiServices=Y --env useSSL=N --volume "c:\windows\system32\drivers\etc:C:\driversetc" --env securePassw
ord=76492d1116743f0423413b16050a5345MgB8ADQARQBBACsAbgBSAFYAaQBsAHgALwAzAEoAQwB4AGkAVQB3AHgAcwBvAHcAPQA9AHwAOABiADAAMQA2AGUAMgA3AGIAYQAwADYANQAyAGQAOAAzADUAZAAxAGMANAA5ADIANgBkADQAMgBiAGQAMwA3AGUAYgAxAGYAO
QAxADEAMgBkADQAYwA0ADUAZgAxADcAMgAwAGMAOQA2ADMAMwAyAGIAZABkADcAYQA5ADUAZQA= --env passwordKeyFile="c:\run\my\aes.key" --env removePasswordKeyFile=Y --env customNavSettings=EnableTaskScheduler=True --env ac
cept_eula=Y --env accept_outdated=Y --detach mcr.microsoft.com/businesscentral:10.0.20348.1850-filesonly
at DockerDo, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\5.0.4\HelperFunctions.ps1: line 258
at New-BcContainer, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\5.0.4\ContainerHandling\New-NavContainer.ps1: line 1949
at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\5.0.4\AppHandling\Run-AlValidation.ps1: line 320
at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\5.0.4\AppHandling\Run-AlValidation.ps1: line 466
at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\5.0.4\AppHandling\Run-AlValidation.ps1: line 445
at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\5.0.4\AppHandling\Run-AlValidation.ps1: line 429
at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\5.0.4\AppHandling\Run-AlValidation.ps1: line 393
at Run-AlValidation, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\5.0.4\AppHandling\Run-AlValidation.ps1: line 391
at <ScriptBlock>, <No file>: line 1

  _____                           _                _____            _        _                 
 |  __ \                         (_)              / ____|          | |      (_)                
 | |__) |___ _ __ ___   _____   ___ _ __   __ _  | |     ___  _ __ | |_ __ _ _ _ __   ___ _ __ 
 |  _  // _ \ '_ ` _ \ / _ \ \ / / | '_ \ / _` | | |    / _ \| '_ \| __/ _` | | '_ \ / _ \ '__|
 | | \ \  __/ | | | | | (_) \ V /| | | | | (_| | | |____ (_) | | | | |_ (_| | | | | |  __/ |   
 |_|  \_\___|_| |_| |_|\___/ \_/ |_|_| |_|\__, |  \_____\___/|_| |_|\__\__,_|_|_| |_|\___|_|   
                                           __/ |                                               
                                          |___/                                                

Removing entries from hosts
Removing bcserver from container hosts file
Removing bcserver-* from container hosts file
Removing Desktop shortcuts
Removing C:\ProgramData\BcContainerHelper\Extensions\bcserver

Removing container took 1 seconds
  _____       _                      _                         _   _  __           _       
 |  __ \     | |                    (_)                       | | (_)/ _|         | |      
 | |  | | ___| |_ ___ _ __ _ __ ___  _ _ __   ___    __ _ _ __| |_ _| |_ __ _  ___| |_ ___ 
 | |  | |/ _ \ __/ _ \ '__| '_ ` _ \| | '_ \ / _ \  / _` | '__| __| |  _/ _` |/ __| __/ __|
 | |__| |  __/ |_  __/ |  | | | | | | | | | |  __/ | (_| | |  | |_| | || (_| | (__| |_\__ \
 |_____/ \___|\__\___|_|  |_| |_| |_|_|_| |_|\___|  \__,_|_|   \__|_|_| \__,_|\___|\__|___/

Found https://bcartifacts.azureedge.net/sandbox/17.0.17126.31585/dk
Using https://bcartifacts.azureedge.net/sandbox/17.0.17126.31585/dk

   _____                _   _                               _        _                 
  / ____|              | | (_)                             | |      (_)                
 | |     _ __ ___  __ _| |_ _ _ __   __ _    ___ ___  _ __ | |_ __ _ _ _ __   ___ _ __ 
 | |    | '__/ _ \/ _` | __| | '_ \ / _` |  / __/ _ \| '_ \| __/ _` | | '_ \ / _ \ '__|
 | |____| | |  __/ (_| | |_| | | | | (_| | | (__ (_) | | | | |_ (_| | | | | |  __/ |   
  \_____|_|  \___|\__,_|\__|_|_| |_|\__, |  \___\___/|_| |_|\__\__,_|_|_| |_|\___|_|   
                                     __/ |                                             
                                    |___/                                              

Creating container for country dk
BcContainerHelper is version 5.0.4
BcContainerHelper is running as administrator
HyperV is Enabled
UsePsSession is True
Host is Microsoft Windows 11 Enterprise - 10.0.22621.1992
Docker Client Version is 24.0.2
Docker Server Version is 24.0.2
Removing Desktop shortcuts
Fetching all docker images
Fetching all docker volumes
Using image mcr.microsoft.com/businesscentral:10.0.20348.1850-filesonly
Creating Container bcserver
Style: sandbox
Multitenant: Yes
Version: 17.0.17126.31585
Platform: 17.0.17020.31164
Generic Tag: 1.0.2.14
Container OS Version: 10.0.20348.1850 (ltsc2022)
Host OS Version: 10.0.22621.1992 (22H2)
Using process isolation
Using locale da-DK
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
Additional Parameters:
--env customNavSettings=EnableTaskScheduler=True
Files in C:\ProgramData\BcContainerHelper\Extensions\bcserver\my:
- AdditionalOutput.ps1
- MainLoop.ps1
- SetupVariables.ps1
- updatehosts.ps1
Creating container bcserver from image mcr.microsoft.com/businesscentral:10.0.20348.1850-filesonly
c8862b4b4cbce7ae707fcc993b676cbfb7c0fad6d1a4b78151e9a9a7b2648ee3
New-BcContainer Telemetry Correlation Id: ed1f319b-7878-4cae-b098-063e3c65bd50
Unexpected error while validating app. Error is: docker: Error response from daemon: container c8862b4b4cbce7ae707fcc993b676cbfb7c0fad6d1a4b78151e9a9a7b2648ee3 encountered an error during hcs::System::Star
t: failure in a Windows system call: The virtual machine or container exited unexpectedly. (0xc0370106).
ExitCode: 125
Commandline: docker run --volume "c:\bcartifacts.cache:c:\dl" --label nav= --env isBcSandbox=Y --label version=17.0.17126.31585 --label platform=17.0.17020.31164 --label country=DK --env artifactUrl=https:
//bcartifacts.azureedge.net/sandbox/17.0.17126.31585/dk --env multitenant=Y --env licenseFile="" --name bcserver --hostname bcserver --env auth=NavUserPassword --env username="admin" --env ExitOnError=N --
env locale=da-DK --env databaseServer="" --env databaseInstance="" --volume "C:\ProgramData\BcContainerHelper:C:\ProgramData\BcContainerHelper" --volume "C:\ProgramData\BcContainerHelper\Extensions\bcserve
r\my:C:\Run\my" --isolation process --restart unless-stopped --env filesOnly=True --memory 8G --env enableApiServices=Y --env useSSL=N --volume "c:\windows\system32\drivers\etc:C:\driversetc" --env secureP
assword=76492d1116743f0423413b16050a5345MgB8ADEAawB1AE0AcgAxAEsAVgBGAHoATABBADMAMABZAEUASAB0AE8AVQBGAFEAPQA9AHwAMgA1ADMAYwBiADYAYQAyADEANAAwADIAYwAwADUAYgA1ADAAOAAxADEANQA2ADgAOQBkADcAZgA4ADgAYwA4ADcAZABhA
DEANwBkAGYAMQAzADIAZgA1ADcANwAyADUANwA0ADMAOQA5AGEANAA3ADIAMgAyADcANgAyADMAMAA= --env passwordKeyFile="c:\run\my\aes.key" --env removePasswordKeyFile=Y --env customNavSettings=EnableTaskScheduler=True --en
v accept_eula=Y --env accept_outdated=Y --detach mcr.microsoft.com/businesscentral:10.0.20348.1850-filesonly
at DockerDo, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\5.0.4\HelperFunctions.ps1: line 258
at New-BcContainer, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\5.0.4\ContainerHandling\New-NavContainer.ps1: line 1949
at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\5.0.4\AppHandling\Run-AlValidation.ps1: line 320
at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\5.0.4\AppHandling\Run-AlValidation.ps1: line 466
at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\5.0.4\AppHandling\Run-AlValidation.ps1: line 445
at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\5.0.4\AppHandling\Run-AlValidation.ps1: line 429
at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\5.0.4\AppHandling\Run-AlValidation.ps1: line 393
at Run-AlValidation, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\5.0.4\AppHandling\Run-AlValidation.ps1: line 391
at <ScriptBlock>, <No file>: line 1

  _____                           _                _____            _        _                 
 |  __ \                         (_)              / ____|          | |      (_)                
 | |__) |___ _ __ ___   _____   ___ _ __   __ _  | |     ___  _ __ | |_ __ _ _ _ __   ___ _ __ 
 |  _  // _ \ '_ ` _ \ / _ \ \ / / | '_ \ / _` | | |    / _ \| '_ \| __/ _` | | '_ \ / _ \ '__|
 | | \ \  __/ | | | | | (_) \ V /| | | | | (_| | | |____ (_) | | | | |_ (_| | | | | |  __/ |   
 |_|  \_\___|_| |_| |_|\___/ \_/ |_|_| |_|\__, |  \_____\___/|_| |_|\__\__,_|_|_| |_|\___|_|   
                                           __/ |                                               
                                          |___/                                                

Removing entries from hosts
Removing bcserver from container hosts file
Removing bcserver-* from container hosts file
Removing Desktop shortcuts
Removing C:\ProgramData\BcContainerHelper\Extensions\bcserver

Removing container took 0 seconds

AL Validation finished in 788 seconds
 __      __   _ _     _       _   _               _____                _ _       
 \ \    / /  | (_)   | |     | | (_)             |  __ \              | | |      
  \ \  / /_ _| |_  __| | __ _| |_ _  ___  _ __   | |__) |___ ___ _   _| | |_ ___ 
   \ \/ / _` | | |/ _` |/ _` | __| |/ _ \| '_ \  |  _  // _ \ __| | | | | __/ __|
    \  / (_| | | | (_| | (_| | |_| | (_) | | | | | | \ \  __\__ \ |_| | | |_\__ \
     \/ \__,_|_|_|\__,_|\__,_|\__|_|\___/|_| |_| |_|  \_\___|___/\__,_|_|\__|___/

Unexpected error while validating app. Error is: docker: Error response from daemon: container 358f62712f21204c5be1117a9ae9c72674137eb1c32ae3898a84620c24a1e59b encountered an error during hcs::System::Star
t: failure in a Windows system call: The virtual machine or container exited unexpectedly. (0xc0370106).
ExitCode: 125
Commandline: docker run --volume "c:\bcartifacts.cache:c:\dl" --label nav= --env isBcSandbox=Y --label version=22.3.58346.58850 --label platform=22.0.58828.0 --label country=DK --env artifactUrl=https://bc
artifacts.azureedge.net/sandbox/22.3.58346.58850/dk --env multitenant=Y --env licenseFile="" --name bcserver --hostname bcserver --env auth=NavUserPassword --env username="admin" --env ExitOnError=N --env 
locale=da-DK --env databaseServer="" --env databaseInstance="" --volume "C:\ProgramData\BcContainerHelper:C:\ProgramData\BcContainerHelper" --volume "C:\ProgramData\BcContainerHelper\Extensions\bcserver\my
:C:\Run\my" --isolation process --restart unless-stopped --env filesOnly=True --memory 8G --env enableApiServices=Y --env useSSL=N --volume "c:\windows\system32\drivers\etc:C:\driversetc" --env securePassw
ord=76492d1116743f0423413b16050a5345MgB8ADQARQBBACsAbgBSAFYAaQBsAHgALwAzAEoAQwB4AGkAVQB3AHgAcwBvAHcAPQA9AHwAOABiADAAMQA2AGUAMgA3AGIAYQAwADYANQAyAGQAOAAzADUAZAAxAGMANAA5ADIANgBkADQAMgBiAGQAMwA3AGUAYgAxAGYAO
QAxADEAMgBkADQAYwA0ADUAZgAxADcAMgAwAGMAOQA2ADMAMwAyAGIAZABkADcAYQA5ADUAZQA= --env passwordKeyFile="c:\run\my\aes.key" --env removePasswordKeyFile=Y --env customNavSettings=EnableTaskScheduler=True --env ac
cept_eula=Y --env accept_outdated=Y --detach mcr.microsoft.com/businesscentral:10.0.20348.1850-filesonly
Unexpected error while validating app. Error is: docker: Error response from daemon: container c8862b4b4cbce7ae707fcc993b676cbfb7c0fad6d1a4b78151e9a9a7b2648ee3 encountered an error during hcs::System::Star
t: failure in a Windows system call: The virtual machine or container exited unexpectedly. (0xc0370106).
ExitCode: 125
Commandline: docker run --volume "c:\bcartifacts.cache:c:\dl" --label nav= --env isBcSandbox=Y --label version=17.0.17126.31585 --label platform=17.0.17020.31164 --label country=DK --env artifactUrl=https:
//bcartifacts.azureedge.net/sandbox/17.0.17126.31585/dk --env multitenant=Y --env licenseFile="" --name bcserver --hostname bcserver --env auth=NavUserPassword --env username="admin" --env ExitOnError=N --
env locale=da-DK --env databaseServer="" --env databaseInstance="" --volume "C:\ProgramData\BcContainerHelper:C:\ProgramData\BcContainerHelper" --volume "C:\ProgramData\BcContainerHelper\Extensions\bcserve
r\my:C:\Run\my" --isolation process --restart unless-stopped --env filesOnly=True --memory 8G --env enableApiServices=Y --env useSSL=N --volume "c:\windows\system32\drivers\etc:C:\driversetc" --env secureP
assword=76492d1116743f0423413b16050a5345MgB8ADEAawB1AE0AcgAxAEsAVgBGAHoATABBADMAMABZAEUASAB0AE8AVQBGAFEAPQA9AHwAMgA1ADMAYwBiADYAYQAyADEANAAwADIAYwAwADUAYgA1ADAAOAAxADEANQA2ADgAOQBkADcAZgA4ADgAYwA4ADcAZABhA
DEANwBkAGYAMQAzADIAZgA1ADcANwAyADUANwA0ADMAOQA5AGEANAA3ADIAMgAyADcANgAyADMAMAA= --env passwordKeyFile="c:\run\my\aes.key" --env removePasswordKeyFile=Y --env customNavSettings=EnableTaskScheduler=True --en
v accept_eula=Y --env accept_outdated=Y --detach mcr.microsoft.com/businesscentral:10.0.20348.1850-filesonly
  _____                          ___      __   _ _     _       _   _               ______    _ _                
 |  __ \                   /\   | \ \    / /  | (_)   | |     | | (_)             |  ____|  (_) |               
 | |__) |   _ _ __ ______ /  \  | |\ \  / /_ _| |_  __| | __ _| |_ _  ___  _ __   | |__ __ _ _| |_   _ _ __ ___ 
 |  _  / | | | '_ \______/ /\ \ | | \ \/ / _` | | |/ _` |/ _` | __| |/ _ \| '_ \  |  __/ _` | | | | | | '__/ _ \
 | | \ \ |_| | | | |    / ____ \| |  \  / (_| | | | (_| | (_| | |_| | (_) | | | | | | | (_| | | | |_| | | |  __/
 |_|  \_\__,_|_| |_|   /_/    \_\_|   \/ \__,_|_|_|\__,_|\__,_|\__|_|\___/|_| |_| |_|  \__,_|_|_|\__,_|_|  \___|

-affixes : The term '-affixes' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is 
correct and try again.
At line:3 char:5
+     -affixes "SM"
+     ~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (-affixes:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

-countries : The term '-countries' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path 
is correct and try again.
At line:4 char:5
+     -countries "dk"
+     ~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (-countries:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

PS C:\WINDOWS\system32> 

**Additional context**

**Windows Version**
Version 22H2 (OS Build 22621.1992)

**Docker desktop Version**
PS C:\WINDOWS\system32> docker version
Client:
 Cloud integration: v1.0.33
 Version:           24.0.2
 API version:       1.43
 Go version:        go1.20.4
 Git commit:        cb74dfc
 Built:             Thu May 25 21:53:15 2023
 OS/Arch:           windows/amd64
 Context:           default

Server: Docker Desktop 4.20.1 (110738)
 Engine:
  Version:          24.0.2
  API version:      1.43 (minimum version 1.24)
  Go version:       go1.20.4
  Git commit:       659604f9
  Built:            Thu May 25 21:52:13 2023
  OS/Arch:          windows/amd64
  Experimental:     false
faranmahboob commented 1 year ago

In New-BcContainer commnad this problem gets solved by adding -isolation hyperv property, but how does it get solved in Run-AlValidation command ?