Describe the issue
I have a local BC docker container based on app version 16.1.12629.12805, and a UAT environment at the customer where the exact same version is installed from the installation media.
BcContainerHelper is version 1.0.19
BcContainerHelper is not running as administrator
Host is Microsoft Windows 10 Enterprise - 1909
Docker Client Version is 20.10.2
Docker Server Version is 20.10.2
Fetching all docker images
Using image mcr.microsoft.com/businesscentral:10.0.18363.1256
Creating Container bc16
Version: 16.1.12629.12805-w1
Style: onprem
Multitenant: No
Platform: 16.0.12630.12758
Generic Tag: 1.0.1.2
Container OS Version: 10.0.18363.1256 (1909)
Host OS Version: 10.0.18363.1316 (1909)
WARNING: Host OS and Base Image Container OS doesn't match, defaulting to hyperv. If you do not have Hyper-V installed or you encounter issues, you could try to specify -isolation process
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:\temp\braintree.flf
Files in C:\ProgramData\BcContainerHelper\Extensions\bc16\my:
- AdditionalOutput.ps1
- license.flf
- MainLoop.ps1
- SetupVariables.ps1
- updatehosts.ps1
Creating container bc16 from image mcr.microsoft.com/businesscentral:10.0.18363.1256
0ab56c07a1450b85981351e253f2d06033447fabbe83936ca6461258fc159c05
Waiting for container bc16 to be ready
Using artifactUrl https://bcartifacts.azureedge.net/onprem/16.1.12629.12805/w1
Using installer from C:\Run\150-new
Installing Business Central
Installing from artifacts
Starting Local SQL Server
Starting Internet Information Server
Copying Service Tier Files
ServerInstance : MicrosoftDynamicsNavServer$BC
DisplayName : Microsoft Dynamics 365 Business Central Server [BC]
State : Running
ServiceAccount : HC\svc
Version : 16.0.12630.12758
Default : False
This is a secondary instance, so different port no. (they didn't want to use port sharing)
The APIs comes in apps as far as I know.
Look at which apps are installed in docker and you should find something like _ExcludeAPIV1
Not sure where the .app is on the dvd - but it should be there.
Describe the issue I have a local BC docker container based on app version 16.1.12629.12805, and a UAT environment at the customer where the exact same version is installed from the installation media.
However, locally I can access the API using http://bc16:7048/BC/api/v1.0, but in the installed environment it is http://bc16:7048/BC/api/beta
Is there a config that I am missing? I just need to understand the reason for the difference in api version.
Scripts used to create container and cause the issue
Full output of scripts
Screenshots Container:
UAT:
This is a secondary instance, so different port no. (they didn't want to use port sharing)
If I try to use API version no. v1.0
Kind Regards,
Ewald