How we can configure the latest Business Central container as Sandbox in docker without License file?
Step
1:
Download the Docker by clicking on Docker Desktop for Windows button and
install.
https://docs.docker.com/desktop/install/windows-install/
Installation Process:
Step 2: Restart the computer and Go to Windows right bottom corner, find Docker icon, right-click and select "Switch to Windows containers".
PowerShell ISE Script:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
Install-Module BcContainerHelper -Force -AllowClobber
#set accept_eula to $true to accept the eula found here: https://go.microsoft.com/fwlink/?linkid=861843
$containername = "DockerBC"
$imagename = "bccontainer22"
$credential = Get-Credential -Message 'Using UserPassword authentication. Please enter credentials for the container.'
$artifactUrl = Get-BCArtifactUrl -type sandbox -version 22.0.54157.55343 -country w1 -select Closest
New-BCContainer `
-accept_eula `
-containerName $containername `
-credential $credential `
-artifactUrl $artifactUrl `
-imageName $imagename `
-memoryLimit 4G `
-auth NavUserPassword `
-shortcuts Desktop `
-updateHosts `
-assignPremiumPlan `
-doNotCheckHealth `
-accept_outdated `
-includeAL `
-isolation hyperv
No comments:
Post a Comment