PLEASE DO NOT INCLUDE ANY PASSWORDS OR TOKENS IN YOUR ISSUE!!!
Describe the issue
A clear and concise description of what the issue is.
Scripts used to create container and cause the issue
New-BcContainer `
-accept_eula `
-imagename...
Full output of scripts
NavContainerHelper is version 0.6.5.7
NavContainerHelper is running as administrator
Host is Microsoft Windows 11
Docker Client Version is 20.10.12
Docker Server Version is N/A
...
PS C:\WINDOWS\system32> C:\Docker\dockercontainer-master\dockercontainer-master\CreateNavContaineFromArtifactStandardOnly.ps1
BcContainerHelper is version 3.0.7
BcContainerHelper is running as administrator
Hyper-V is Enabled
Host is Microsoft Windows 11 Pro - Unknown/Insider build
Docker Client Version is 20.10.12
Docker Server Version is 20.10.12
Removing container BC20
Removing BC20 from container hosts file
Removing BC20-* from container hosts file
Removing C:\ProgramData\BcContainerHelper\Extensions\BC20
Fetching all docker images
Fetching all docker volumes
Pulling image mcr.microsoft.com/businesscentral:10.0.20348.1547
10.0.20348.1547: Pulling from businesscentral
Digest: sha256:6ac11be13708ef8c49fb71ce321db8987d843e371a202662bf608d4593d38774
Status: Image is up to date for mcr.microsoft.com/businesscentral:10.0.20348.1547
mcr.microsoft.com/businesscentral:10.0.20348.1547
Using image mcr.microsoft.com/businesscentral:10.0.20348.1547
Creating Container BC20
Style: onprem
Multitenant: No
Version: 21.4.52563.52785
Platform: 21.0.52534.52761
Generic Tag: 1.0.2.14
Container OS Version: 10.0.20348.1547 (ltsc2022)
Host OS Version: 10.0.22621.1265 (Unknown/Insider build)
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:\BC\4829960.flf
Additional Parameters:
--env customNavSettings=EnableTaskScheduler=False
Files in C:\ProgramData\BcContainerHelper\Extensions\BC20\my:
AdditionalOutput.ps1
license.flf
MainLoop.ps1
SetupNavUsers.ps1
SetupVariables.ps1
updatehosts.ps1
Creating container BC20 from image mcr.microsoft.com/businesscentral:10.0.20348.1547
d3b52b6a3308a5fc039705fdc172743992c99fc2934efb2ff832c92e53cb8718
Waiting for container BC20 to be ready
Using artifactUrl https://bcartifacts.azureedge.net/onprem/21.4.52563.52785/us
Using installer from C:\Run\210-new
Installing Business Central
Installing from artifacts
Starting Local SQL Server
Starting Internet Information Server
Copying Service Tier Files
c:\dl\onprem\21.4.52563.52785\platform\ServiceTier\Program Files
c:\dl\onprem\21.4.52563.52785\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\onprem\21.4.52563.52785\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
c:\dl\onprem\21.4.52563.52785\platform\WindowsPowerShellScripts\WebSearch
Copying Web Client Files
c:\dl\onprem\21.4.52563.52785\platform\WebClient\Microsoft Dynamics NAV
Copying ModernDev Files
c:\dl\onprem\21.4.52563.52785\platform
c:\dl\onprem\21.4.52563.52785\platform\ModernDev\program files\Microsoft Dynamics NAV
Copying additional files
Copying ConfigurationPackages
C:\dl\onprem\21.4.52563.52785\us\ConfigurationPackages
Copying Test Assemblies
C:\dl\onprem\21.4.52563.52785\platform\Test Assemblies
Copying Applications
C:\dl\onprem\21.4.52563.52785\us\Applications
Copying dependencies
Copying ReportBuilder
Importing PowerShell Modules
Restoring CRONUS Demo Database
Setting CompatibilityLevel for CRONUS on localhost\SQLEXPRESS
Modifying Business Central Service Tier Config File for Docker
Creating Business Central Service Tier
Installing SIP crypto provider: 'C:\Windows\System32\NavSip.dll'
Starting Business Central Service Tier
Importing license file
Stopping Business Central Service Tier
Installation took 146 seconds
Installation complete
Initializing...
Setting host.docker.internal to 192.168.13.33 in container hosts file (copy from host hosts file)
Setting gateway.docker.internal to 192.168.13.33 in container hosts file (copy from host hosts file)
Setting kubernetes.docker.internal to 127.0.0.1 in container hosts file (copy from host hosts file)
Setting host.containerhelper.internal to 172.24.80.1 in container hosts file
Starting Container
Hostname is BC20
PublicDnsName is BC20
WARNING: DNS resolution not working from within the container.
Using NavUserPassword Authentication
Creating Self Signed Certificate
Self Signed Certificate Thumbprint 37862F6C7CB26A493347C2E3C3732374EA92DF6F
DNS identity BC20
Modifying Service Tier Config File with Instance Specific Settings
Modifying Service Tier Config File with settings from environment variable
Setting EnableTaskScheduler to False
Starting Service Tier
Registering event sources
Creating DotNetCore Web Server Instance
Using application pool name: BC
Using default container name: NavWebApplicationContainer
Copy files to WWW root C:\inetpub\wwwroot\BC
Create the application pool BC
Create website: NavWebApplicationContainer without SSL
Update configuration: navsettings.json
Done Configuring Web Client
Using license file 'c:\run\my\license.flf'
Import License
Creating http download site
Setting SA Password and enabling SA
Creating admin as SQL User and add to sysadmin
Creating SUPER user
Assign Premium plan for ADMIN
Container IP Address: 172.24.85.196
Container Hostname : BC20
Container Dns Name : BC20
Web Client : http://BC20/BC/
Dev. Server : http://BC20
Dev. ServerInstance : BC
Setting BC20 to 172.24.85.196 in host hosts file
Container Total Physical Memory is 8.5Gb
Container Free Physical Memory is 6.4Gb
Initialization took 89 seconds
Ready for connections!
Reading CustomSettings.config from BC20
Creating Desktop Shortcuts for BC20
Creating .net Assembly Reference Folder for VS Code
Copying DLLs from C:\Windows\assembly to assemblyProbingPath
Copying DLLs from C:\Windows\Microsoft.NET\assembly to assemblyProbingPath
Copying DLLs from C:\Program Files\Microsoft Dynamics NAV\210\Service to assemblyProbingPath
Copying DLLs from C:\Test Assemblies\Mock Assemblies to assemblyProbingPath
Copying DLLs from C:\Program Files (x86)\Open XML SDK to assemblyProbingPath
Container BC20 successfully created
Use:
Get-BcContainerEventLog -containerName BC20 to retrieve a snapshot of the event log from the container
Get-BcContainerDebugInfo -containerName BC20 to get debug information about the container
Enter-BcContainer -containerName BC20 to open a PowerShell prompt inside the container
Remove-BcContainer -containerName BC20 to remove the container again
docker logs BC20 to retrieve information about URL's again
Publishing C:\ProgramData\BcContainerHelper\Extensions\BC20\a0917920-81a4-466e-ac5f-976e63d11f8e\XTIVIA_GovCon365_13.6.2421.0.app
Synchronizing GovCon365 on tenant default
Installing GovCon365 on tenant default
App XTIVIA_GovCon365_13.6.2421.0.app successfully published
Screenshots
If applicable, add screenshots to help explain your problem.
Event log erros and warnings
The operating system cannot run Server instance: BC
Tenant:
Environment Name:
Environment Type:
The service could not add service principal names because the service account could not be found in Active Directory.
Account: NT AUTHORITY\SYSTEM
Service principal names:
http/BC20:7047
The operating system cannot run Server instance: BC
Tenant:
Environment Name:
Environment Type:
SSL/HTTPS has not been configured for SOAP Services; client credentials will be sent over an unsecured transport (HTTP)..
The operating system cannot run Server instance: BC
Tenant:
Environment Name:
Environment Type:
SSL/HTTPS has not been configured for ODataV4 Services; client credentials will be sent over an unsecured transport (HTTP)..
License Activation (slui.exe) failed with the following error code:
hr=0x800705B4
Command-line arguments:
RuleId=eeba1977-569e-4571-b639-7623d8bfecc0;Action=AutoActivate;AppId=55c92734-d682-4d71-983e-d6ec3f16059f;SkuId=ef6cfc9f-8c5d-44ac-9aad-de6a2ea0ae03;NotificationInterval=1440;Trigger=TimerEvent
Failed to collect hardware data. Error code 0xD0000034.
{Redundant Write} To satisfy a write request, the NT fault-tolerant file system successfully wrote a redundant copy of the information. This was done because the file system encountered a failure on a member of the fault-tolerant volume, but was not able to reassign the failing area of the device.
This file contains a virus or potentially unwanted software and cannot be opened. Due to the nature of this virus or potentially unwanted software, the file has been removed from this location.
PLEASE DO NOT INCLUDE ANY PASSWORDS OR TOKENS IN YOUR ISSUE!!!
Describe the issue A clear and concise description of what the issue is.
Scripts used to create container and cause the issue
Full output of scripts
PS C:\WINDOWS\system32> C:\Docker\dockercontainer-master\dockercontainer-master\CreateNavContaineFromArtifactStandardOnly.ps1 BcContainerHelper is version 3.0.7 BcContainerHelper is running as administrator Hyper-V is Enabled Host is Microsoft Windows 11 Pro - Unknown/Insider build Docker Client Version is 20.10.12 Docker Server Version is 20.10.12 Removing container BC20 Removing BC20 from container hosts file Removing BC20-* from container hosts file Removing C:\ProgramData\BcContainerHelper\Extensions\BC20 Fetching all docker images Fetching all docker volumes Pulling image mcr.microsoft.com/businesscentral:10.0.20348.1547 10.0.20348.1547: Pulling from businesscentral Digest: sha256:6ac11be13708ef8c49fb71ce321db8987d843e371a202662bf608d4593d38774 Status: Image is up to date for mcr.microsoft.com/businesscentral:10.0.20348.1547 mcr.microsoft.com/businesscentral:10.0.20348.1547 Using image mcr.microsoft.com/businesscentral:10.0.20348.1547 Creating Container BC20 Style: onprem Multitenant: No Version: 21.4.52563.52785 Platform: 21.0.52534.52761 Generic Tag: 1.0.2.14 Container OS Version: 10.0.20348.1547 (ltsc2022) Host OS Version: 10.0.22621.1265 (Unknown/Insider build) 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:\BC\4829960.flf Additional Parameters: --env customNavSettings=EnableTaskScheduler=False Files in C:\ProgramData\BcContainerHelper\Extensions\BC20\my:
Files: http://BC20:8080/ALLanguage.vsix
Container Total Physical Memory is 8.5Gb Container Free Physical Memory is 6.4Gb
Initialization took 89 seconds Ready for connections! Reading CustomSettings.config from BC20 Creating Desktop Shortcuts for BC20 Creating .net Assembly Reference Folder for VS Code Copying DLLs from C:\Windows\assembly to assemblyProbingPath Copying DLLs from C:\Windows\Microsoft.NET\assembly to assemblyProbingPath Copying DLLs from C:\Program Files\Microsoft Dynamics NAV\210\Service to assemblyProbingPath Copying DLLs from C:\Test Assemblies\Mock Assemblies to assemblyProbingPath Copying DLLs from C:\Program Files (x86)\Open XML SDK to assemblyProbingPath Container BC20 successfully created
Use: Get-BcContainerEventLog -containerName BC20 to retrieve a snapshot of the event log from the container Get-BcContainerDebugInfo -containerName BC20 to get debug information about the container Enter-BcContainer -containerName BC20 to open a PowerShell prompt inside the container Remove-BcContainer -containerName BC20 to remove the container again docker logs BC20 to retrieve information about URL's again Publishing C:\ProgramData\BcContainerHelper\Extensions\BC20\a0917920-81a4-466e-ac5f-976e63d11f8e\XTIVIA_GovCon365_13.6.2421.0.app Synchronizing GovCon365 on tenant default Installing GovCon365 on tenant default App XTIVIA_GovCon365_13.6.2421.0.app successfully published Screenshots If applicable, add screenshots to help explain your problem.
Event log erros and warnings The operating system cannot run Server instance: BC Tenant: Environment Name: Environment Type: The service could not add service principal names because the service account could not be found in Active Directory. Account: NT AUTHORITY\SYSTEM Service principal names: http/BC20:7047
The operating system cannot run Server instance: BC Tenant: Environment Name: Environment Type: SSL/HTTPS has not been configured for SOAP Services; client credentials will be sent over an unsecured transport (HTTP)..
The operating system cannot run Server instance: BC Tenant: Environment Name: Environment Type: SSL/HTTPS has not been configured for ODataV4 Services; client credentials will be sent over an unsecured transport (HTTP)..
License Activation (slui.exe) failed with the following error code: hr=0x800705B4 Command-line arguments: RuleId=eeba1977-569e-4571-b639-7623d8bfecc0;Action=AutoActivate;AppId=55c92734-d682-4d71-983e-d6ec3f16059f;SkuId=ef6cfc9f-8c5d-44ac-9aad-de6a2ea0ae03;NotificationInterval=1440;Trigger=TimerEvent
Failed to collect hardware data. Error code 0xD0000034.
{Redundant Write} To satisfy a write request, the NT fault-tolerant file system successfully wrote a redundant copy of the information. This was done because the file system encountered a failure on a member of the fault-tolerant volume, but was not able to reassign the failing area of the device.
This file contains a virus or potentially unwanted software and cannot be opened. Due to the nature of this virus or potentially unwanted software, the file has been removed from this location.
Additional context