Create Development Environment for Business Central Sandbox

Hi All,

I am trying to prepare the development environment using following command:
Install-Module -Name DockerMsftProvider -Repository PSGallery -Force
Install-Package -Name docker -ProviderName DockerMsftProvider
docker run -e accept_eula=Y -m 4G microsoft/bcsandbox

After installation I am able to open the web client in browser. but I need help to setup CSide and Windows client.
No new shortcut are placed on desktop or in start menu so not sure how to achieve this.

Thanks,
Manish Sinha

Best Answer

  • sunmorningindiasunmorningindia Member Posts: 65
    Answer ✓
    Solved: Using New-NavContainer to create developer environment.
    Command:
    New-NavContainer -containerName bc-w1 -accept_eula -accept_outdated -alwaysPull -assignPremiumPlan -auth NavUserPassword -doNotExportObjectsToText -enableSymbolLoading -imageName microsoft/bcsandbox -includeCSide -licenseFile C:\Users\msinha\Downloads\Fin.flf -memoryLimit 4G -shortcuts Desktop -updateHosts -useSSL

Answers

  • sunmorningindiasunmorningindia Member Posts: 65
    PowerShell Log:
    C:\Windows\system32>docker run -e accept_eula=Y -m 4G microsoft/bcsandbox
    Initializing...
    Starting Container
    Hostname is ddad075f9dc0
    PublicDnsName is ddad075f9dc0
    Using NavUserPassword Authentication
    Starting Local SQL Server
    Starting Internet Information Server
    Creating Self Signed Certificate
    Self Signed Certificate Thumbprint 5953488986FC00DA6A9016A070283E97925BB0B7
    Modifying Service Tier Config File with Instance Specific Settings
    Starting NAV Service Tier
    Creating DotNetCore Web Server Instance
    Enabling Financials User Experience
    Creating http download site
    Creating Windows user admin
    Setting SA Password and enabling SA
    Creating admin as SQL User and add to sysadmin
    Creating SUPER user
    Container IP Address: 172.23.69.189
    Container Hostname : ddad075f9dc0
    Container Dns Name : ddad075f9dc0
    Web Client : https://ddad075f9dc0/NAV/
    NAV Admin Username : admin
    NAV Admin Password : *******
    Dev. Server : https://ddad075f9dc0
    Dev. ServerInstance : NAV

    Files:
    http://ddad075f9dc0:8080/al-0.16.26913.vsix
    http://ddad075f9dc0:8080/certificate.cer

    Initialization took 118 seconds
    Ready for connections!
  • sunmorningindiasunmorningindia Member Posts: 65
    Answer ✓
    Solved: Using New-NavContainer to create developer environment.
    Command:
    New-NavContainer -containerName bc-w1 -accept_eula -accept_outdated -alwaysPull -assignPremiumPlan -auth NavUserPassword -doNotExportObjectsToText -enableSymbolLoading -imageName microsoft/bcsandbox -includeCSide -licenseFile C:\Users\msinha\Downloads\Fin.flf -memoryLimit 4G -shortcuts Desktop -updateHosts -useSSL
Sign In or Register to comment.