Install Business Central OnPremise Sandbox in three simple steps

Do you know Docker and why it’s a powerfull software ? This software allow you to encapsulate overall heavy application in parallel OS (there is a very small latency but overall performance is same as your PC because it’s not running virtualized like VMWare does but truely in parralal than the host OS).

This is specially awesome when you are a Dynamics Nav partner/distributor because that allow you to automate Nav environnement installation and keep your local OS clean with only one command line. If you are one you know the struggle about having different Nav version installed on the same computer.

Install Docker

Simply go to www.docker.com, create an account (need an email confirmation) then download and install Docker. It’s arround 500Mo.

/!\ During Docker installation be carful of the OS question, you need to select “Use Windows OS instead of Linux” in order to run Nav application in Docker.

Install NavContainerHelper

NavContainerHelper is a very powerfull PS module provide by Microsoft that ease installation of Nav docker image.

You can get it simply with following command :
install-module navcontainerhelper -force

Install Business Central env. or any other Nav version

You have now access to New-NavContainer cmdlet in powershell. This command let you download and automate the installation of all applications layers to have a Nav environement encapsulated in a Docker image (this include the OS with right parameters, SQL, Nav installation with all needed components and setup, it’s magic !)

You can see it’s parameters with Powershell ISE. Use it like bellow :
New-NavContainer -accept_eula -containerName "test" -auth Windows -imageName "microsoft/bcsandbox" -includeCSide -enableSymbolLoading

ContainerName is docker container name and imageName is the Dynamics Nav version you want. It can be lastest version of Business Central sandbox or any specific or localized version of other Nav (2018, 2017, ect). Here is the rules to get the image name from the version and localisation you want : https://blogs.msdn.microsoft.com/freddyk/2018/04/16/which-docker-image-is-the-right-for-you/

Take your time to take a coffee this image is arround 4Gb (can get up to 16Gb with other Nav versions). When it’s finish, tada! You get Business central shortcut on your desktop :

As you can see our old RTC and CSide are allway here (-includeCSide parameter) but with the “12.0” version 🙂

3 Comments

  1. Pingback: Business Central, Best Posts Part I (AprilAugust) - Roberto Stefanetti NAV & BC Blog

  2. Pingback: Business Central, Best Posts Part I (AprilAugust) | PA

  3. Pingback: Install Business Central OnPremise Sandbox in three simple steps | PA

Leave a Reply

Your email address will not be published. Required fields are marked *