Hi team
Can we still use Docker to install BC14? If yes what is the script for this?
Thanks
Hi team
Can we still use Docker to install BC14? If yes what is the script for this?
Thanks
Thanks Teddy. Removing license file worked. Below is the working code just in case for future
$version = 14
$containerName = 'bc' + $version
$password = 'password'
$auth = 'UserPassword'
$artifactUrl = Get-BcArtifactUrl -type 'onprem' -select 'Latest' -version $version
# *** CREATE BC CONTAINER
New-BcContainer `
-accept_eula `
-accept_outdated `
-containerName $containerName `
-auth $auth `
-artifactUrl $artifactUrl `
-imageName $containerName `
-multitenant:$false `
-assignPremiumPlan `
-dns '8.8.8.8' `
-updateHosts `
-shortcuts DesktopFolder `
Oh, you need to have BC license in it. You can try using cronus license or try removing the licenseFile parameter.
Hi TeddyH
Thank you so much. I have two issues and I appreciate your help
1) I am receiving the below error. I have created NAV folder in C and it is there. How I can resolve this issue?
Copy-Item : Cannot find path 'C:\NAV\NAV.flf' because it does not exist.
At C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\4.0.5\ContainerHandling\New-NavImage.ps1:532 char:25
+ ... Copy-Item -path $licenseFilePath -Destination "$dbPath\CR ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\NAV\CRONUS.flf:String) [Copy-Item], ItemNotFoundException
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
2) I only created blank NAV.flf file in folder. Should I include anything specific in it? I have no license for BC.
Thanks
I don't see why not. I have been using it for BC11.
Here's a simple script.
$version = 14
$containerName = 'bc' + $version
$password = 'password'
$auth = 'UserPassword'
$artifactUrl = Get-BcArtifactUrl -type 'onprem' -select 'Latest' -version $version
$licenseFile = 'C:\NAV\NAV.flf'
# *** CREATE BC CONTAINER
New-BcContainer `
-accept_eula `
-accept_outdated `
-containerName $containerName `
-auth $auth `
-artifactUrl $artifactUrl `
-imageName $containerName `
-multitenant:$false `
-assignPremiumPlan `
-licenseFile $licenseFile `
-dns '8.8.8.8' `
-updateHosts `
-shortcuts DesktopFolder `
Hi
Can you please explain more?
Thanks
Hi,
No, there is no need.
Regards
Amit Sharma
www.erpconsultors.com
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,269 Super User 2024 Season 2
Martin Dráb 230,198 Most Valuable Professional
nmaenpaa 101,156