microsoft / navcontainerhelper

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

Initialization of container failed #2879

Closed dbsae closed 1 year ago

dbsae commented 1 year ago

PLEASE DO NOT INCLUDE ANY PASSWORDS OR TOKENS IN YOUR ISSUE!!!

Describe the issue I have tried to download the latest image this is my third try and have same issue. Can anyone help please .

Scripts used to create container and cause the issue

$artifactUrl = "https://bcartifacts.blob.core.windows.net/onprem/21.3.51409.51464/w1"
$accept_eula = $true
$containerName = "BCTest23"
$auth = "UserPassword"
$credential = New-Object pscredential 'admin', (ConvertTo-SecureString -String 'abc' -AsPlainText -Force)
$licenseFile = "C:\BC31\6529666.flf"

New-BCContainer -accept_eula  -containerName $containerName -artifactUrl $artifactUrl  -auth NavUserPassword -licenseFile "C:\BC23\6529666.flf" -updateHosts -includeAL -includeTestToolkit -includeTestLibrariesOnly -memoryLimit 4G  -alwaysPull -accept_outdated -isolation hyperv      ```

**Full output of scripts**
BcContainerHelper version 2.0.10
BcContainerHelper is version 2.0.10
BcContainerHelper is running as administrator
Host is Microsoft Windows Server 2016 Standard - ltsc2016
Docker Client Version is 19.03.5
Docker Server Version is 19.03.5
Fetching all docker images
Fetching all docker volumes
Pulling image mcr.microsoft.com/businesscentral:10.0.14393.4169
10.0.14393.4169: Pulling from businesscentral
3889bb8d808b: Pulling fs layer
bd091f41e44c: Pulling fs layer
35a0621ddc18: Pulling fs layer
c6e437a04f21: Pulling fs layer
0104ae62d5f7: Pulling fs layer
04ada5007a31: Pulling fs layer
e688390aaa95: Pulling fs layer
56edc08fdaec: Pulling fs layer
c503eeedafdd: Pulling fs layer
fa0e0877402e: Pulling fs layer
4d4ccc36425b: Pulling fs layer
09cbd61bba3c: Pulling fs layer
f68b0ef54d1d: Pulling fs layer
71e3b113accc: Pulling fs layer
f2da664136eb: Pulling fs layer
509aa7e1ff37: Pulling fs layer
abb87de34cde: Pulling fs layer
451eeec54d87: Pulling fs layer
373bd47bb8bd: Pulling fs layer
57c5d73fd455: Pulling fs layer
95ce0c06ffb3: Pulling fs layer
5c3dab5d2a91: Pulling fs layer
ed562e9453dd: Pulling fs layer
b2a123a3a5de: Pulling fs layer
1f324ef41a7e: Pulling fs layer
96a208b59e89: Pulling fs layer
76a865f47def: Pulling fs layer
b67bc272dcf5: Pulling fs layer
20781ee0a5cd: Pulling fs layer
b1926361d140: Pulling fs layer
2c9dfd75c8ff: Pulling fs layer
a544ada81b37: Pulling fs layer
7d14c89c8ed0: Pulling fs layer
19e71d97efff: Pulling fs layer
c6e437a04f21: Waiting
0104ae62d5f7: Waiting
04ada5007a31: Waiting
e688390aaa95: Waiting
56edc08fdaec: Waiting
c503eeedafdd: Waiting
fa0e0877402e: Waiting
4d4ccc36425b: Waiting
09cbd61bba3c: Waiting
f68b0ef54d1d: Waiting
71e3b113accc: Waiting
f2da664136eb: Waiting
509aa7e1ff37: Waiting
abb87de34cde: Waiting
451eeec54d87: Waiting
373bd47bb8bd: Waiting
57c5d73fd455: Waiting
95ce0c06ffb3: Waiting
5c3dab5d2a91: Waiting
ed562e9453dd: Waiting
b2a123a3a5de: Waiting
1f324ef41a7e: Waiting
96a208b59e89: Waiting
76a865f47def: Waiting
b67bc272dcf5: Waiting
20781ee0a5cd: Waiting
b1926361d140: Waiting
2c9dfd75c8ff: Waiting
a544ada81b37: Waiting
7d14c89c8ed0: Waiting
19e71d97efff: Waiting
35a0621ddc18: Verifying Checksum
35a0621ddc18: Download complete
c6e437a04f21: Verifying Checksum
c6e437a04f21: Download complete
0104ae62d5f7: Verifying Checksum
0104ae62d5f7: Download complete
04ada5007a31: Download complete
e688390aaa95: Verifying Checksum
e688390aaa95: Download complete
56edc08fdaec: Verifying Checksum
56edc08fdaec: Download complete
c503eeedafdd: Verifying Checksum
c503eeedafdd: Download complete
fa0e0877402e: Verifying Checksum
fa0e0877402e: Download complete
bd091f41e44c: Verifying Checksum
bd091f41e44c: Download complete
09cbd61bba3c: Verifying Checksum
09cbd61bba3c: Download complete
f68b0ef54d1d: Verifying Checksum
f68b0ef54d1d: Download complete
71e3b113accc: Verifying Checksum
71e3b113accc: Download complete
f2da664136eb: Verifying Checksum
f2da664136eb: Download complete
509aa7e1ff37: Verifying Checksum
509aa7e1ff37: Download complete
abb87de34cde: Verifying Checksum
abb87de34cde: Download complete
451eeec54d87: Verifying Checksum
451eeec54d87: Download complete
373bd47bb8bd: Verifying Checksum
373bd47bb8bd: Download complete
57c5d73fd455: Verifying Checksum
57c5d73fd455: Download complete
3889bb8d808b: Verifying Checksum
3889bb8d808b: Download complete
5c3dab5d2a91: Verifying Checksum
5c3dab5d2a91: Download complete
ed562e9453dd: Verifying Checksum
ed562e9453dd: Download complete
b2a123a3a5de: Verifying Checksum
b2a123a3a5de: Download complete
1f324ef41a7e: Verifying Checksum
1f324ef41a7e: Download complete
96a208b59e89: Verifying Checksum
96a208b59e89: Download complete
76a865f47def: Download complete
b67bc272dcf5: Verifying Checksum
b67bc272dcf5: Download complete
20781ee0a5cd: Download complete
b1926361d140: Download complete
2c9dfd75c8ff: Verifying Checksum
2c9dfd75c8ff: Download complete
a544ada81b37: Verifying Checksum
a544ada81b37: Download complete
7d14c89c8ed0: Verifying Checksum
7d14c89c8ed0: Download complete
19e71d97efff: Verifying Checksum
19e71d97efff: Download complete
4d4ccc36425b: Verifying Checksum
4d4ccc36425b: Download complete
95ce0c06ffb3: Verifying Checksum
95ce0c06ffb3: Download complete
3889bb8d808b: Pull complete
bd091f41e44c: Pull complete
35a0621ddc18: Pull complete
c6e437a04f21: Pull complete
0104ae62d5f7: Pull complete
04ada5007a31: Pull complete
e688390aaa95: Pull complete
56edc08fdaec: Pull complete
c503eeedafdd: Pull complete
fa0e0877402e: Pull complete
4d4ccc36425b: Pull complete
09cbd61bba3c: Pull complete
f68b0ef54d1d: Pull complete
71e3b113accc: Pull complete
f2da664136eb: Pull complete
509aa7e1ff37: Pull complete
abb87de34cde: Pull complete
451eeec54d87: Pull complete
373bd47bb8bd: Pull complete
57c5d73fd455: Pull complete
95ce0c06ffb3: Pull complete
5c3dab5d2a91: Pull complete
ed562e9453dd: Pull complete
b2a123a3a5de: Pull complete
1f324ef41a7e: Pull complete
96a208b59e89: Pull complete
76a865f47def: Pull complete
b67bc272dcf5: Pull complete
20781ee0a5cd: Pull complete
b1926361d140: Pull complete
2c9dfd75c8ff: Pull complete
a544ada81b37: Pull complete
7d14c89c8ed0: Pull complete
19e71d97efff: Pull complete
Digest: sha256:ec20f829a8b82f479829912c49862b1cde6e20c1060341b34b72e868bcbca13a
Status: Downloaded newer image for mcr.microsoft.com/businesscentral:10.0.14393.4169
mcr.microsoft.com/businesscentral:10.0.14393.4169
Using image mcr.microsoft.com/businesscentral:10.0.14393.4169
Creating Container BCTest23
Version: 21.3.51409.51464-w1
Style: onprem
Multitenant: No
Platform: 21.0.51393.51456
Generic Tag: 1.0.2.13
Container OS Version: 10.0.14393.4169 (ltsc2016)
Host OS Version: 10.0.14393.4169 (ltsc2016)
Using hyperv isolation
Using locale en-US
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
Using license file C:\BC23\6529666.flf
Files in C:\ProgramData\BcContainerHelper\Extensions\BCTest23\my:
- AdditionalOutput.ps1
- license.flf
- MainLoop.ps1
- SetupVariables.ps1
- updatehosts.ps1
Creating container BCTest23 from image mcr.microsoft.com/businesscentral:10.0.14393.4169
d45b3ae4c5fa66ec8224c0e54ca93d8eef42fb787661962ae12f87fdf03f6afd
Waiting for container BCTest23 to be ready
Using artifactUrl https://bcartifacts.blob.core.windows.net/onprem/21.3.51409.51464/w1
Using installer from C:\Run\210-new
Installing Business Central
Installing from artifacts
Starting Local SQL Server
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
Starting Internet Information Server
Copying Service Tier Files
c:\dl\onprem\21.3.51409.51464\platform\ServiceTier\Program Files
c:\dl\onprem\21.3.51409.51464\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\onprem\21.3.51409.51464\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
c:\dl\onprem\21.3.51409.51464\platform\WindowsPowerShellScripts\WebSearch
Copying Web Client Files
c:\dl\onprem\21.3.51409.51464\platform\WebClient\Microsoft Dynamics NAV
Copying ModernDev Files
c:\dl\onprem\21.3.51409.51464\platform
c:\dl\onprem\21.3.51409.51464\platform\ModernDev\program files\Microsoft Dynamics NAV
Copying additional files
Copying ConfigurationPackages
C:\dl\onprem\21.3.51409.51464\platform\ConfigurationPackages
Copying Test Assemblies
C:\dl\onprem\21.3.51409.51464\platform\Test Assemblies
Copying Applications
C:\dl\onprem\21.3.51409.51464\platform\Applications
Copying dependencies
Copying ReportBuilder
Importing PowerShell Modules
Restoring CRONUS Demo Database
The database restore operation failed due to the following error returned by SQL Server:
Execution Timeout Expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.
at <ScriptBlock>, C:\Run\navinstall.ps1: line 206
at <ScriptBlock>, C:\Run\start.ps1: line 242
at <ScriptBlock>, <No file>: line 1Error
Using artifactUrl https://bcartifacts.blob.core.windows.net/onprem/21.3.51409.51464/w1
Using installer from C:\Run\210-new
Installing Business Central
Installing from artifacts
Starting Local SQL Server
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
Starting Internet Information Server
Copying Service Tier Files
c:\dl\onprem\21.3.51409.51464\platform\ServiceTier\Program Files
c:\dl\onprem\21.3.51409.51464\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\onprem\21.3.51409.51464\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
c:\dl\onprem\21.3.51409.51464\platform\WindowsPowerShellScripts\WebSearch
Copying Web Client Files
c:\dl\onprem\21.3.51409.51464\platform\WebClient\Microsoft Dynamics NAV
Copying ModernDev Files
c:\dl\onprem\21.3.51409.51464\platform
c:\dl\onprem\21.3.51409.51464\platform\ModernDev\program files\Microsoft Dynamics NAV
Copying additional files
Copying ConfigurationPackages
C:\dl\onprem\21.3.51409.51464\platform\ConfigurationPackages
Copying Test Assemblies
C:\dl\onprem\21.3.51409.51464\platform\Test Assemblies
Copying Applications
C:\dl\onprem\21.3.51409.51464\platform\Applications
Copying dependencies
Copying ReportBuilder
Importing PowerShell Modules
Restoring CRONUS Demo Database
The database restore operation failed due to the following error returned by SQL Server:
Execution Timeout Expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.
at <ScriptBlock>, C:\Run\navinstall.ps1: line 206
at <ScriptBlock>, C:\Run\start.ps1: line 242
at <ScriptBlock>, <No file>: line 1
Initialization of container BCTest23 failed
At C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\2.0.10\ContainerHandling\Wait-NavContainerReady.ps1:43 char:17
+ ...             throw "Initialization of container $containerName failed" ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (Initialization ...BCTest23 failed:String) [], RuntimeException
    + FullyQualifiedErrorId : Initialization of container BCTest23 failed
...

Screenshots If applicable, add screenshots to help explain your problem.

Additional context [ { "Id": "d45b3ae4c5fa66ec8224c0e54ca93d8eef42fb787661962ae12f87fdf03f6afd", "Created": "2023-01-29T22:10:57.3627345Z", "Path": "powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; .\Run\start.ps1", "Args": [], "State": { "Status": "running", "Running": true, "Paused": false, "Restarting": false, "OOMKilled": false, "Dead": false, "Pid": 1856, "ExitCode": 0, "Error": "", "StartedAt": "2023-01-29T22:22:30.7896146Z", "FinishedAt": "0001-01-01T00:00:00Z", "Health": { "Status": "unhealthy", "FailingStreak": 991, "Log": [ { "Start": "2023-01-29T23:03:56.7607841-08:00", "End": "2023-01-29T23:03:57.7789928-08:00", "ExitCode": 1, "Output": "Get-service : Cannot find any service with service name \r\n'MicrosoftDynamicsNavServer$BC'.\r\nAt C:\Run\CheckHealth.ps1:17 char:14\r\n+ if ((Get-ser vice -name \"$NavServiceName\").Status -eq 'Running ...\r\n+ ~~~~~~~\r\n + CategoryInfo : ObjectNotFound: (MicrosoftDynamicsNavServer$BC:S \r\ n tring) [Get-Service], ServiceCommandException\r\n + FullyQualifiedErrorId : NoServiceFoundForGivenName,Microsoft.PowerShell. \r\n Commands.GetServiceCommand\r\n \r\n" }, { "Start": "2023-01-29T23:04:27.9638191-08:00", "End": "2023-01-29T23:04:29.1319225-08:00", "ExitCode": 1, "Output": "Get-service : Cannot find any service with service name \r\n'MicrosoftDynamicsNavServer$BC'.\r\nAt C:\Run\CheckHealth.ps1:17 char:14\r\n+ if ((Get-ser vice -name \"$NavServiceName\").Status -eq 'Running ...\r\n+ ~~~~~~~\r\n + CategoryInfo : ObjectNotFound: (MicrosoftDynamicsNavServer$BC:S \r\ n tring) [Get-Service], ServiceCommandException\r\n + FullyQualifiedErrorId : NoServiceFoundForGivenName,Microsoft.PowerShell. \r\n Commands.GetServiceCommand\r\n \r\n" }, { "Start": "2023-01-29T23:04:59.276027-08:00", "End": "2023-01-29T23:05:00.3544947-08:00", "ExitCode": 1, "Output": "Get-service : Cannot find any service with service name \r\n'MicrosoftDynamicsNavServer$BC'.\r\nAt C:\Run\CheckHealth.ps1:17 char:14\r\n+ if ((Get-ser vice -name \"$NavServiceName\").Status -eq 'Running ...\r\n+ ~~~~~~~\r\n + CategoryInfo : ObjectNotFound: (MicrosoftDynamicsNavServer$BC:S \r\ n tring) [Get-Service], ServiceCommandException\r\n + FullyQualifiedErrorId : NoServiceFoundForGivenName,Microsoft.PowerShell. \r\n Commands.GetServiceCommand\r\n \r\n" }, { "Start": "2023-01-29T23:05:30.557596-08:00", "End": "2023-01-29T23:05:31.7856581-08:00", "ExitCode": 1, "Output": "Get-service : Cannot find any service with service name \r\n'MicrosoftDynamicsNavServer$BC'.\r\nAt C:\Run\CheckHealth.ps1:17 char:14\r\n+ if ((Get-ser vice -name \"$NavServiceName\").Status -eq 'Running ...\r\n+ ~~~~~~~\r\n + CategoryInfo : ObjectNotFound: (MicrosoftDynamicsNavServer$BC:S \r\ n tring) [Get-Service], ServiceCommandException\r\n + FullyQualifiedErrorId : NoServiceFoundForGivenName,Microsoft.PowerShell. \r\n Commands.GetServiceCommand\r\n \r\n" }, { "Start": "2023-01-29T23:06:01.9794373-08:00", "End": "2023-01-29T23:06:02.8841594-08:00", "ExitCode": 1, "Output": "Get-service : Cannot find any service with service name \r\n'MicrosoftDynamicsNavServer$BC'.\r\nAt C:\Run\CheckHealth.ps1:17 char:14\r\n+ if ((Get-ser vice -name \"$NavServiceName\").Status -eq 'Running ...\r\n+ ~~~~~~~\r\n + CategoryInfo : ObjectNotFound: (MicrosoftDynamicsNavServer$BC:S \r\ n tring) [Get-Service], ServiceCommandException\r\n + FullyQualifiedErrorId : NoServiceFoundForGivenName,Microsoft.PowerShell. \r\n Commands.GetServiceCommand\r\n \r\n" } ] } }, "Image": "sha256:5ae30265add580f674ceafa11343643a376048cd1895953bd259363624533a97", "ResolvConfPath": "", "HostnamePath": "", "HostsPath": "", "LogPath": "C:\ProgramData\Docker\containers\d45b3ae4c5fa66ec8224c0e54ca93d8eef42fb787661962ae12f87fdf03f6afd\d45b3ae4c5fa66ec8224c0e54ca93d8eef42fb787661962ae12f87fdf03f6afd-json.lo g", "Name": "/BCTest23", "RestartCount": 0, "Driver": "windowsfilter", "Platform": "windows", "MountLabel": "", "ProcessLabel": "", "AppArmorProfile": "", "ExecIDs": null, "HostConfig": { "Binds": [ "c:\bcartifacts.cache:c:\dl", "C:\ProgramData\BcContainerHelper:C:\ProgramData\BcContainerHelper", "C:\ProgramData\BcContainerHelper\Extensions\BCTest23\my:C:\Run\my", "c:\windows\system32\drivers\etc:C:\driversetc" ], "ContainerIDFile": "", "LogConfig": { "Type": "json-file", "Config": {} }, "NetworkMode": "default", "PortBindings": {}, "RestartPolicy": { "Name": "unless-stopped", "MaximumRetryCount": 0 }, "AutoRemove": false, "VolumeDriver": "", "VolumesFrom": null, "CapAdd": null, "CapDrop": null, "Capabilities": null, "Dns": [], "DnsOptions": [], "DnsSearch": [], "ExtraHosts": null, "GroupAdd": null, "IpcMode": "", "Cgroup": "", "Links": null, "OomScoreAdj": 0, "PidMode": "", "Privileged": false, "PublishAllPorts": false, "ReadonlyRootfs": false, "SecurityOpt": null, "UTSMode": "", "UsernsMode": "", "ShmSize": 0, "ConsoleSize": [ 0, 0 ], "Isolation": "hyperv", "CpuShares": 0, "Memory": 4294967296, "NanoCpus": 0, "CgroupParent": "", "BlkioWeight": 0, "BlkioWeightDevice": [], "BlkioDeviceReadBps": null, "BlkioDeviceWriteBps": null, "BlkioDeviceReadIOps": null, "BlkioDeviceWriteIOps": null, "CpuPeriod": 0, "CpuQuota": 0, "CpuRealtimePeriod": 0, "CpuRealtimeRuntime": 0, "CpusetCpus": "", "CpusetMems": "", "Devices": [], "DeviceCgroupRules": null, "DeviceRequests": null, "KernelMemory": 0, "KernelMemoryTCP": 0, "MemoryReservation": 0, "MemorySwap": 0, "MemorySwappiness": null, "OomKillDisable": false, "PidsLimit": null, "Ulimits": null, "CpuCount": 0, "CpuPercent": 0, "IOMaximumIOps": 0, "IOMaximumBandwidth": 0, "MaskedPaths": null, "ReadonlyPaths": null }, "GraphDriver": { "Data": { "dir": "C:\ProgramData\Docker\windowsfilter\d45b3ae4c5fa66ec8224c0e54ca93d8eef42fb787661962ae12f87fdf03f6afd" }, "Name": "windowsfilter" }, "Mounts": [ { "Type": "bind", "Source": "c:\bcartifacts.cache", "Destination": "c:\dl", "Mode": "", "RW": true, "Propagation": "" }, { "Type": "bind", "Source": "c:\programdata\bccontainerhelper", "Destination": "c:\programdata\bccontainerhelper", "Mode": "", "RW": true, "Propagation": "" }, { "Type": "bind", "Source": "c:\programdata\bccontainerhelper\extensions\bctest23\my", "Destination": "c:\run\my", "Mode": "", "RW": true, "Propagation": "" }, { "Type": "bind", "Source": "c:\windows\system32\drivers\etc", "Destination": "c:\driversetc", "Mode": "", "RW": true, "Propagation": "" } ], "Config": { "Hostname": "BCTest23", "Domainname": "", "User": "", "AttachStdin": false, "AttachStdout": false, "AttachStderr": false, "ExposedPorts": { "1433/tcp": {}, "443/tcp": {}, "7045/tcp": {}, "7046/tcp": {}, "7047/tcp": {}, "7048/tcp": {}, "7049/tcp": {}, "7083/tcp": {}, "80/tcp": {}, "8080/tcp": {} }, "Tty": false, "OpenStdin": false, "StdinOnce": false, "Env": [ "artifactUrl=https://bcartifacts.blob.core.windows.net/onprem/21.3.51409.51464/w1", "databaseServer=", "accept_eula=Y", "accept_outdated=Y", "username=admin", "databaseInstance=", "useSSL=N", "passwordKeyFile=c:\run\my\aes.key", "licenseFile=c:\run\my\license.flf", "auth=NavUserPassword", "ExitOnError=N", "enableApiServices=Y", "isBcSandbox=N", "locale=en-US", "filesOnly=False", "securePassword=76492d1116743f0423413b16050a5345MgB8AGkANgB6AFUARgBtAG8ASgB6AEEAMQBDAE0AdgBDAFoAeABZAFUAUwBJAFEAPQA9AHwANQAxAGQAOQBkAGQAMQBjADUANQBlADkAMAA1AGIANAA2ADAAYQA3ADgAMgA yADQANgBmADUAYgA5ADgAYgA2ADAAOQAzADUAYQA2ADkAYgA3ADUANgAwADEANgA0AGIAZQBkAGEANQA0AGIAZAAxAGEAMwAyADMAYwAzAGMAYwA=", "removePasswordKeyFile=Y", "COMPLUS_NGenProtectedProcess_FeatureEnabled=0" ], "Cmd": [ "powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; .\Run\start.ps1" ], "Healthcheck": { "Test": [ "CMD", "powershell", ".\Run\HealthCheck.ps1" ], "Interval": 30000000000, "Timeout": 10000000000 }, "ArgsEscaped": true, "Image": "mcr.microsoft.com/businesscentral:10.0.14393.4169", "Volumes": null, "WorkingDir": "", "Entrypoint": null, "OnBuild": null, "Labels": { "country": "w1", "created": "202208181430", "eula": "https://go.microsoft.com/fwlink/?linkid=861843", "maintainer": "Dynamics SMB", "nav": "", "osversion": "10.0.14393.4169", "platform": "21.0.51393.51456", "tag": "1.0.2.13", "version": "21.3.51409.51464" } }, "NetworkSettings": { "Bridge": "", "SandboxID": "d45b3ae4c5fa66ec8224c0e54ca93d8eef42fb787661962ae12f87fdf03f6afd", "HairpinMode": false, "LinkLocalIPv6Address": "", "LinkLocalIPv6PrefixLen": 0, "Ports": { "1433/tcp": null, "443/tcp": null, "7045/tcp": null, "7046/tcp": null, "7047/tcp": null, "7048/tcp": null, "7049/tcp": null, "7083/tcp": null, "80/tcp": null, "8080/tcp": null }, "SandboxKey": "d45b3ae4c5fa66ec8224c0e54ca93d8eef42fb787661962ae12f87fdf03f6afd", "SecondaryIPAddresses": null, "SecondaryIPv6Addresses": null, "EndpointID": "", "Gateway": "", "GlobalIPv6Address": "", "GlobalIPv6PrefixLen": 0, "IPAddress": "", "IPPrefixLen": 0, "IPv6Gateway": "", "MacAddress": "", "Networks": { "nat": { "IPAMConfig": null, "Links": null, "Aliases": null, "NetworkID": "dd1f8d0a6a483479dcacb84832300e5d3bc388f6a11979ef457b659af7461dcb", "EndpointID": "ec8c7167c3aac199864ea7c258ec64d0744d633c3d4558a715f9843485a86031", "Gateway": "172.30.192.1", "IPAddress": "172.30.200.59", "IPPrefixLen": 16, "IPv6Gateway": "", "GlobalIPv6Address": "", "GlobalIPv6PrefixLen": 0, "MacAddress": "00:15:5d:89:c5:0c", "DriverOpts": null } } } } ]

freddydk commented 1 year ago

BcContainerHelper 2.0.10 is a very very old version. Please upgrade to the latest version and retry to see whether you encounter the same issue.

These commands should do the trick

Remove-Module BcContainerHelper -erroraction silentlycontinue
Uninstall-Module BcContainerHelper -allversions
Install-Module BcContainerHelper -force
dbsae commented 1 year ago

First of all thanks for your quick response. After update the BcContianerHelper encounter the same result. Secondly, It taking soo long around 6 hours.

When trying to download the image BcContainerHelper version 4.0.10 BC.HelperFunctions emits usage statistics telemetry to Microsoft BcContainerHelper is version 4.0.10 BcContainerHelper is running as administrator Hyper-V is Enabled UsePsSession is True Host is Microsoft Windows Server 2016 Standard - ltsc2016 Docker Client Version is 19.03.5 Docker Server Version is 19.03.5 Removing entries from hosts Removing BCTest23 from container hosts file Removing BCTest23-* from container hosts file Removing Desktop shortcuts Removing C:\ProgramData\BcContainerHelper\Extensions\BCTest23 Fetching all docker images Fetching all docker volumes Pulling image mcr.microsoft.com/businesscentral:10.0.14393.4169 10.0.14393.4169: Pulling from businesscentral 3889bb8d808b: Pulling fs layer bd091f41e44c: Pulling fs layer 35a0621ddc18: Pulling fs layer c6e437a04f21: Pulling fs layer 0104ae62d5f7: Pulling fs layer 04ada5007a31: Pulling fs layer e688390aaa95: Pulling fs layer 56edc08fdaec: Pulling fs layer c503eeedafdd: Pulling fs layer fa0e0877402e: Pulling fs layer 4d4ccc36425b: Pulling fs layer 09cbd61bba3c: Pulling fs layer f68b0ef54d1d: Pulling fs layer 71e3b113accc: Pulling fs layer f2da664136eb: Pulling fs layer 509aa7e1ff37: Pulling fs layer abb87de34cde: Pulling fs layer 451eeec54d87: Pulling fs layer 373bd47bb8bd: Pulling fs layer 57c5d73fd455: Pulling fs layer 95ce0c06ffb3: Pulling fs layer 5c3dab5d2a91: Pulling fs layer ed562e9453dd: Pulling fs layer b2a123a3a5de: Pulling fs layer 1f324ef41a7e: Pulling fs layer 96a208b59e89: Pulling fs layer 76a865f47def: Pulling fs layer b67bc272dcf5: Pulling fs layer 20781ee0a5cd: Pulling fs layer b1926361d140: Pulling fs layer 2c9dfd75c8ff: Pulling fs layer a544ada81b37: Pulling fs layer 7d14c89c8ed0: Pulling fs layer 19e71d97efff: Pulling fs layer c6e437a04f21: Waiting 0104ae62d5f7: Waiting 04ada5007a31: Waiting e688390aaa95: Waiting 56edc08fdaec: Waiting c503eeedafdd: Waiting fa0e0877402e: Waiting 4d4ccc36425b: Waiting 09cbd61bba3c: Waiting f68b0ef54d1d: Waiting 71e3b113accc: Waiting f2da664136eb: Waiting 509aa7e1ff37: Waiting abb87de34cde: Waiting 451eeec54d87: Waiting 373bd47bb8bd: Waiting 57c5d73fd455: Waiting 95ce0c06ffb3: Waiting 5c3dab5d2a91: Waiting ed562e9453dd: Waiting b2a123a3a5de: Waiting 1f324ef41a7e: Waiting 96a208b59e89: Waiting 76a865f47def: Waiting b67bc272dcf5: Waiting 20781ee0a5cd: Waiting b1926361d140: Waiting 2c9dfd75c8ff: Waiting a544ada81b37: Waiting 7d14c89c8ed0: Waiting 19e71d97efff: Waiting 35a0621ddc18: Verifying Checksum 35a0621ddc18: Download complete c6e437a04f21: Verifying Checksum c6e437a04f21: Download complete 0104ae62d5f7: Verifying Checksum 0104ae62d5f7: Download complete 04ada5007a31: Verifying Checksum 04ada5007a31: Download complete e688390aaa95: Verifying Checksum e688390aaa95: Download complete 56edc08fdaec: Verifying Checksum 56edc08fdaec: Download complete c503eeedafdd: Verifying Checksum c503eeedafdd: Download complete fa0e0877402e: Verifying Checksum fa0e0877402e: Download complete bd091f41e44c: Verifying Checksum bd091f41e44c: Download complete 09cbd61bba3c: Verifying Checksum 09cbd61bba3c: Download complete f68b0ef54d1d: Verifying Checksum f68b0ef54d1d: Download complete 71e3b113accc: Verifying Checksum 71e3b113accc: Download complete f2da664136eb: Verifying Checksum f2da664136eb: Download complete 509aa7e1ff37: Verifying Checksum 509aa7e1ff37: Download complete abb87de34cde: Verifying Checksum abb87de34cde: Download complete 451eeec54d87: Verifying Checksum 451eeec54d87: Download complete 373bd47bb8bd: Verifying Checksum 373bd47bb8bd: Download complete 57c5d73fd455: Download complete 95ce0c06ffb3: Verifying Checksum 95ce0c06ffb3: Download complete 5c3dab5d2a91: Verifying Checksum 5c3dab5d2a91: Download complete ed562e9453dd: Verifying Checksum ed562e9453dd: Download complete b2a123a3a5de: Verifying Checksum b2a123a3a5de: Download complete 1f324ef41a7e: Verifying Checksum 1f324ef41a7e: Download complete 96a208b59e89: Verifying Checksum 96a208b59e89: Download complete 76a865f47def: Verifying Checksum 76a865f47def: Download complete b67bc272dcf5: Verifying Checksum b67bc272dcf5: Download complete 20781ee0a5cd: Verifying Checksum 20781ee0a5cd: Download complete b1926361d140: Verifying Checksum b1926361d140: Download complete 2c9dfd75c8ff: Verifying Checksum 2c9dfd75c8ff: Download complete a544ada81b37: Verifying Checksum a544ada81b37: Download complete 7d14c89c8ed0: Verifying Checksum 7d14c89c8ed0: Download complete 19e71d97efff: Verifying Checksum 19e71d97efff: Download complete 4d4ccc36425b: Verifying Checksum 4d4ccc36425b: Download complete 3889bb8d808b: Verifying Checksum 3889bb8d808b: Download complete 3889bb8d808b: Pull complete bd091f41e44c: Pull complete 35a0621ddc18: Pull complete c6e437a04f21: Pull complete 0104ae62d5f7: Pull complete 04ada5007a31: Pull complete e688390aaa95: Pull complete 56edc08fdaec: Pull complete c503eeedafdd: Pull complete fa0e0877402e: Pull complete 4d4ccc36425b: Pull complete 09cbd61bba3c: Pull complete f68b0ef54d1d: Pull complete 71e3b113accc: Pull complete f2da664136eb: Pull complete 509aa7e1ff37: Pull complete abb87de34cde: Pull complete 451eeec54d87: Pull complete 373bd47bb8bd: Pull complete 57c5d73fd455: Pull complete 95ce0c06ffb3: Pull complete 5c3dab5d2a91: Pull complete ed562e9453dd: Pull complete b2a123a3a5de: Pull complete 1f324ef41a7e: Pull complete 96a208b59e89: Pull complete 76a865f47def: Pull complete b67bc272dcf5: Pull complete 20781ee0a5cd: Pull complete b1926361d140: Pull complete 2c9dfd75c8ff: Pull complete a544ada81b37: Pull complete 7d14c89c8ed0: Pull complete 19e71d97efff: Pull complete Digest: sha256:ec20f829a8b82f479829912c49862b1cde6e20c1060341b34b72e868bcbca13a Status: Downloaded newer image for mcr.microsoft.com/businesscentral:10.0.14393.4169 Using image mcr.microsoft.com/businesscentral:10.0.14393.4169 Creating Container BCTest23 Style: onprem Multitenant: No Version: 21.3.51409.51464 Platform: 21.0.51393.51456 Generic Tag: 1.0.2.13 Container OS Version: 10.0.14393.4169 (ltsc2016) Host OS Version: 10.0.14393.4169 (ltsc2016) Using hyperv isolation Using locale en-US Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable) Using license file C:\BC23\6529666.flf Files in C:\ProgramData\BcContainerHelper\Extensions\BCTest23\my:

Docker Container Inspect docker inspect 1eff51569c82 [ { "Id": "1eff51569c827275fd58b0787734df0c5c601a2634dbfd89cfb74a3c15531686", "Created": "2023-01-30T15:47:09.0289664Z", "Path": "powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; .\Run\start.ps1", "Args": [], "State": { "Status": "running", "Running": true, "Paused": false, "Restarting": false, "OOMKilled": false, "Dead": false, "Pid": 1852, "ExitCode": 0, "Error": "", "StartedAt": "2023-01-30T16:08:52.2213603Z", "FinishedAt": "2023-01-30T16:07:19.2490306Z", "Health": { "Status": "unhealthy", "FailingStreak": 115, "Log": [ { "Start": "2023-01-30T09:10:03.5751368-08:00", "End": "2023-01-30T09:10:04.8036985-08:00", "ExitCode": 1, "Output": "Get-service : Cannot find any service with service name \r\n'MicrosoftDynamicsNavServer$BC'.\r\nAt C:\Run\CheckHealth.ps1:17 char:14\r\n+ if ((Get-ser vice -name \"$NavServiceName\").Status -eq 'Running ...\r\n+ ~~~~~~~\r\n + CategoryInfo : ObjectNotFound: (MicrosoftDynamicsNavServer$BC:S \r\ n tring) [Get-Service], ServiceCommandException\r\n + FullyQualifiedErrorId : NoServiceFoundForGivenName,Microsoft.PowerShell. \r\n Commands.GetServiceCommand\r\n \r\n" }, { "Start": "2023-01-30T09:10:35.3412161-08:00", "End": "2023-01-30T09:10:36.4426538-08:00", "ExitCode": 1, "Output": "Get-service : Cannot find any service with service name \r\n'MicrosoftDynamicsNavServer$BC'.\r\nAt C:\Run\CheckHealth.ps1:17 char:14\r\n+ if ((Get-ser vice -name \"$NavServiceName\").Status -eq 'Running ...\r\n+ ~~~~~~~\r\n + CategoryInfo : ObjectNotFound: (MicrosoftDynamicsNavServer$BC:S \r\ n tring) [Get-Service], ServiceCommandException\r\n + FullyQualifiedErrorId : NoServiceFoundForGivenName,Microsoft.PowerShell. \r\n Commands.GetServiceCommand\r\n \r\n" }, { "Start": "2023-01-30T09:11:06.7788982-08:00", "End": "2023-01-30T09:11:07.9654924-08:00", "ExitCode": 1, "Output": "Get-service : Cannot find any service with service name \r\n'MicrosoftDynamicsNavServer$BC'.\r\nAt C:\Run\CheckHealth.ps1:17 char:14\r\n+ if ((Get-ser vice -name \"$NavServiceName\").Status -eq 'Running ...\r\n+ ~~~~~~~\r\n + CategoryInfo : ObjectNotFound: (MicrosoftDynamicsNavServer$BC:S \r\ n tring) [Get-Service], ServiceCommandException\r\n + FullyQualifiedErrorId : NoServiceFoundForGivenName,Microsoft.PowerShell. \r\n Commands.GetServiceCommand\r\n \r\n" }, { "Start": "2023-01-30T09:11:38.1857957-08:00", "End": "2023-01-30T09:11:39.3189087-08:00", "ExitCode": 1, "Output": "Get-service : Cannot find any service with service name \r\n'MicrosoftDynamicsNavServer$BC'.\r\nAt C:\Run\CheckHealth.ps1:17 char:14\r\n+ if ((Get-ser vice -name \"$NavServiceName\").Status -eq 'Running ...\r\n+ ~~~~~~~\r\n + CategoryInfo : ObjectNotFound: (MicrosoftDynamicsNavServer$BC:S \r\ n tring) [Get-Service], ServiceCommandException\r\n + FullyQualifiedErrorId : NoServiceFoundForGivenName,Microsoft.PowerShell. \r\n Commands.GetServiceCommand\r\n \r\n" }, { "Start": "2023-01-30T09:12:09.4986348-08:00", "End": "2023-01-30T09:12:10.2893377-08:00", "ExitCode": 1, "Output": "Get-service : Cannot find any service with service name \r\n'MicrosoftDynamicsNavServer$BC'.\r\nAt C:\Run\CheckHealth.ps1:17 char:14\r\n+ if ((Get-ser vice -name \"$NavServiceName\").Status -eq 'Running ...\r\n+ ~~~~~~~\r\n + CategoryInfo : ObjectNotFound: (MicrosoftDynamicsNavServer$BC:S \r\ n tring) [Get-Service], ServiceCommandException\r\n + FullyQualifiedErrorId : NoServiceFoundForGivenName,Microsoft.PowerShell. \r\n Commands.GetServiceCommand\r\n \r\n" } ] } }, "Image": "sha256:5ae30265add580f674ceafa11343643a376048cd1895953bd259363624533a97", "ResolvConfPath": "", "HostnamePath": "", "HostsPath": "", "LogPath": "C:\ProgramData\Docker\containers\1eff51569c827275fd58b0787734df0c5c601a2634dbfd89cfb74a3c15531686\1eff51569c827275fd58b0787734df0c5c601a2634dbfd89cfb74a3c15531686-json.lo g", "Name": "/BCTest23", "RestartCount": 1, "Driver": "windowsfilter", "Platform": "windows", "MountLabel": "", "ProcessLabel": "", "AppArmorProfile": "", "ExecIDs": null, "HostConfig": { "Binds": [ "c:\bcartifacts.cache:c:\dl", "C:\ProgramData\BcContainerHelper:C:\ProgramData\BcContainerHelper", "C:\ProgramData\BcContainerHelper\Extensions\BCTest23\my:C:\Run\my", "c:\windows\system32\drivers\etc:C:\driversetc" ], "ContainerIDFile": "", "LogConfig": { "Type": "json-file", "Config": {} }, "NetworkMode": "default", "PortBindings": {}, "RestartPolicy": { "Name": "unless-stopped", "MaximumRetryCount": 0 }, "AutoRemove": false, "VolumeDriver": "", "VolumesFrom": null, "CapAdd": null, "CapDrop": null, "Capabilities": null, "Dns": [], "DnsOptions": [], "DnsSearch": [], "ExtraHosts": null, "GroupAdd": null, "IpcMode": "", "Cgroup": "", "Links": null, "OomScoreAdj": 0, "PidMode": "", "Privileged": false, "PublishAllPorts": false, "ReadonlyRootfs": false, "SecurityOpt": null, "UTSMode": "", "UsernsMode": "", "ShmSize": 0, "ConsoleSize": [ 0, 0 ], "Isolation": "hyperv", "CpuShares": 0, "Memory": 4294967296, "NanoCpus": 0, "CgroupParent": "", "BlkioWeight": 0, "BlkioWeightDevice": [], "BlkioDeviceReadBps": null, "BlkioDeviceWriteBps": null, "BlkioDeviceReadIOps": null, "BlkioDeviceWriteIOps": null, "CpuPeriod": 0, "CpuQuota": 0, "CpuRealtimePeriod": 0, "CpuRealtimeRuntime": 0, "CpusetCpus": "", "CpusetMems": "", "Devices": [], "DeviceCgroupRules": null, "DeviceRequests": null, "KernelMemory": 0, "KernelMemoryTCP": 0, "MemoryReservation": 0, "MemorySwap": 0, "MemorySwappiness": null, "OomKillDisable": false, "PidsLimit": null, "Ulimits": null, "CpuCount": 0, "CpuPercent": 0, "IOMaximumIOps": 0, "IOMaximumBandwidth": 0, "MaskedPaths": null, "ReadonlyPaths": null }, "GraphDriver": { "Data": { "dir": "C:\ProgramData\Docker\windowsfilter\1eff51569c827275fd58b0787734df0c5c601a2634dbfd89cfb74a3c15531686" }, "Name": "windowsfilter" }, "Mounts": [ { "Type": "bind", "Source": "c:\bcartifacts.cache", "Destination": "c:\dl", "Mode": "", "RW": true, "Propagation": "" }, { "Type": "bind", "Source": "c:\programdata\bccontainerhelper", "Destination": "c:\programdata\bccontainerhelper", "Mode": "", "RW": true, "Propagation": "" }, { "Type": "bind", "Source": "c:\programdata\bccontainerhelper\extensions\bctest23\my", "Destination": "c:\run\my", "Mode": "", "RW": true, "Propagation": "" }, { "Type": "bind", "Source": "c:\windows\system32\drivers\etc", "Destination": "c:\driversetc", "Mode": "", "RW": true, "Propagation": "" } ], "Config": { "Hostname": "BCTest23", "Domainname": "", "User": "", "AttachStdin": false, "AttachStdout": false, "AttachStderr": false, "ExposedPorts": { "1433/tcp": {}, "443/tcp": {}, "7045/tcp": {}, "7046/tcp": {}, "7047/tcp": {}, "7048/tcp": {}, "7049/tcp": {}, "7083/tcp": {}, "80/tcp": {}, "8080/tcp": {} }, "Tty": false, "OpenStdin": false, "StdinOnce": false, "Env": [ "useSSL=N", "artifactUrl=https://bcartifacts.blob.core.windows.net/onprem/21.3.51409.51464/w1", "databaseInstance=", "filesOnly=False", "accept_eula=Y", "accept_outdated=Y", "isBcSandbox=N", "licenseFile=c:\run\my\license.flf", "enableApiServices=Y", "removePasswordKeyFile=Y", "auth=NavUserPassword", "ExitOnError=N", "locale=en-US", "passwordKeyFile=c:\run\my\aes.key", "username=admin", "databaseServer=", "securePassword=76492d1116743f0423413b16050a5345MgB8AHYASwBFAGkAMwBzADcAWgBEAHMARwBwACsANgBBAFMAWQBmAGoAKwBkAEEAPQA9AHwANQBlADQAMgA5AGUANQBkADUAZABiADYAYgA3AGIANgA3AGIAZAA3ADIANwB kAGEAZgAyADAAMwA1AGYAZQBhADQAZgAxAGEANQA4ADAAYwA0ADYAMAA4ADIAMgBhAGIAYwAxAGQAMwBmAGEAYwBjAGIAZgBmAGEANQAwAGIAYQA=", "COMPLUS_NGenProtectedProcess_FeatureEnabled=0" ], "Cmd": [ "powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; .\Run\start.ps1" ], "Healthcheck": { "Test": [ "CMD", "powershell", ".\Run\HealthCheck.ps1" ], "Interval": 30000000000, "Timeout": 10000000000 }, "ArgsEscaped": true, "Image": "mcr.microsoft.com/businesscentral:10.0.14393.4169", "Volumes": null, "WorkingDir": "", "Entrypoint": null, "OnBuild": null, "Labels": { "country": "w1", "created": "202208181430", "eula": "https://go.microsoft.com/fwlink/?linkid=861843", "maintainer": "Dynamics SMB", "nav": "", "osversion": "10.0.14393.4169", "platform": "21.0.51393.51456", "tag": "1.0.2.13", "version": "21.3.51409.51464" } }, "NetworkSettings": { "Bridge": "", "SandboxID": "1eff51569c827275fd58b0787734df0c5c601a2634dbfd89cfb74a3c15531686", "HairpinMode": false, "LinkLocalIPv6Address": "", "LinkLocalIPv6PrefixLen": 0, "Ports": { "1433/tcp": null, "443/tcp": null, "7045/tcp": null, "7046/tcp": null, "7047/tcp": null, "7048/tcp": null, "7049/tcp": null, "7083/tcp": null, "80/tcp": null, "8080/tcp": null }, "SandboxKey": "1eff51569c827275fd58b0787734df0c5c601a2634dbfd89cfb74a3c15531686", "SecondaryIPAddresses": null, "SecondaryIPv6Addresses": null, "EndpointID": "", "Gateway": "", "GlobalIPv6Address": "", "GlobalIPv6PrefixLen": 0, "IPAddress": "", "IPPrefixLen": 0, "IPv6Gateway": "", "MacAddress": "", "Networks": { "nat": { "IPAMConfig": null, "Links": null, "Aliases": null, "NetworkID": "dd1f8d0a6a483479dcacb84832300e5d3bc388f6a11979ef457b659af7461dcb", "EndpointID": "099d1ad2426cab471c684d7732dc9221937e58e0ec604c62e84acc1d7149eda6", "Gateway": "172.30.192.1", "IPAddress": "172.30.203.55", "IPPrefixLen": 16, "IPv6Gateway": "", "GlobalIPv6Address": "", "GlobalIPv6PrefixLen": 0, "MacAddress": "00:15:5d:89:c9:42", "DriverOpts": null } } } } ]

freddydk commented 1 year ago

You are running Windows Server 2016 - which is very inefficient with Docker and Containers - and it looks like the machine simply is too slow to run - it times out. If you have a WIndows Server 2019 or 2022 - thing are just so much faster and so much better - and it needs to have enough RAM The images are 1/5th of the size f.ex.

dbsae commented 1 year ago

You are running Windows Server 2016 - which is very inefficient with Docker and Containers - and it looks like the machine simply is too slow to run - it times out. If you have a WIndows Server 2019 or 2022 - thing are just so much faster and so much better - and it needs to have enough RAM The images are 1/5th of the size f.ex.

Unfortunately I don't have. My physical server have windows 2016 and make vm for windows server 2016 and download the image. Let me work on windows server 2019.

If I need help I post here. Come back soon

freddydk commented 1 year ago

Closing due to no activity