NavContainerHelper 0.3.1.0 and a new Docker Generic build 0.0.6.6

Over the weekend, a new version of the NavContainerHelper (version 0.3.1.0) has been uploaded to the PowerShell Gallery with a few bug fixes and a few extra functions. Also a new version of the Generic image (microsoft/dynamics-nav:generic-0.0.6.6) has been published and all NAV images (2016, 2017 and 2018) are being rebuild. Business Central Sandbox images…

0

What Docker Image is right for you?

The last year has been quite a journey for people using Docker images for Microsoft Dynamics NAV or Dynamics 365 Business Central. Images have been available in various places and private registries, navdocker, developer preview, navinsider, microsoft/dynamics-nav are just some of the terms you have run into. This blog post should demystify and explain clearly…

5

Enabling Premium Experience in Business Central Sandbox Containers

A few people have discovered that manufacturing, production and other functionality which only is available when using Premium Plan is not available when running a Business Central Sandbox Container. The reason for this is, that this is controlled by the User Plan and by default the admin user has the essential plan. In Business Central,…

0

NAV on Docker 0.0.5.5 or… – What’s new

As some users of NAV on Docker has noticed, the images gets rebuild from time to time. We typically rebuild all images when we have changes to the generic layer, which might be of value to users of NAV on Docker. This blog post describes what’s new since the last blog post on 0.0.4.1 (December…

0

NavContainerHelper – Overriding scripts in NAV containers

If you haven’t read the first post about the NavContainerHelper, you should do so. When building, running or restarting the NAV container, the c:\run\start.ps1 script is being run. This script will launch navstart.ps1, which will launch a number of other scripts (listed below in the order in which they are called from navstart.ps1). Each of these scripts…

0

NavContainerHelper – Use an external SQL Server as database connection in a NAV container

If you haven’t read the first post about the NavContainerHelper, you should do so. If you have a created a SQL Server container using one of the methods described any of the blog posts: Create a SQL Server container with the CRONUS database from a NAV container image Create a SQL Server container and restore a .bak…

0

NavContainerHelper – Create a SQL Server container and restore a .bak file

If you haven’t read the first post about the NavContainerHelper, you should do so. The following script sample, will create a new SQL Server container and restore a NAV 2018 database backup file (Demo Database NAV (11-0).bak) placed on the host in a folder called c:\temp\navdbfiles. The folder c:\temp\navdbfiles on the host is shared as…

0

NavContainerHelper – Start a NAV container and place the database files on a file share on the host computer

If you haven’t read the first post about the NavContainerHelper, you should do so. The database files are placed inside the container by default. If you want to copy the database to a share on the Docker host, you can override the SetupDatabase.ps1 script by creating a file called SetupDatabase.ps1, specify that in myScripts.ps1 to…

0

NavContainerHelper – Specify your own Database backup file to use with a NAV container

If you haven’t read the first post about the NavContainerHelper, you should do so. If you have a database backup file (.bak), you can specify that as parameter to the container. You can specify the bakfile using a secure URL. Read this for information about how to create a secure url for a file. $imageName = “microsoft/dynamics-nav:2018-rtm”…

0

NavContainerHelper – License

If you haven’t read the first post about the NavContainerHelper, you should do so. By default the NAV containers are using the CRONUS demo database and the CRONUS Demo license file is already imported in that. If you want to use you own licensefile, you have a few options on how to do this. Specify…

0

NavContainerHelper – Authentication

If you haven’t read the first post about the NavContainerHelper, you should do so. Specify username and password for your NAV SUPER user The parameter needed to specify username and password for your NAV Super user is -credential $credential The credentials are of type System.Management.Automation.PSCredential and can be created like this $securePassword = ConvertTo-SecureString -String…

0

NavContainerHelper – Certificates

If you haven’t read the first post about the NavContainerHelper, you should do so. Use SSL with a self-signed certificate I you want to add a certificate to a container started by New-NavContainer, you ccan use the parameter: -useSSL Example: New-NavContainer -accept_eula ` -useSSL ` -containerName “test” ` -auth NavUserPassword ` -imageName “microsoft/dynamics-nav” You will…

1

NavContainerHelper

What are Containers? What is Docker? If you are new to Docker and Containers, please read this document, which describes what Containers are and what Docker is. If you want more info, there are a lot of Channel9 videos on Containers as well If you have problems with Docker (not NAV related), the Windows Containers Docker forum is the…

0

NAV on Docker version 0.0.4.1

Some of you might already know what lies behind this cryptic title, some of you might not care. This post describes what changed in the Generic image version 0.0.4.1, which today is the foundation of all images on the Docker hub and of course also of the generic image on the docker hub. Support for…

7

Can I run NAV 2015 (and earlier) on Docker?

NAV on Docker is here to stay, and a lot of partners have discovered how NAV on Docker can save a lot of time in their development processes. NAV ships and maintains Docker images for all NAV versions (all CUs, all localizations) since NAV 2016RTM. One of the questions I have been asked a lot…

8

Creating workshop machines on Azure

During Directions US and Directions EMEA, we had to spin up approx. 2000 Azure VMs for our hands on labs. All of these machines was deployed individually from PowerShell (multiple simultaneous jobs, but still one job=one VM) running on my Developer Machine in Lyngby. The scripts used to create these VMs has been shared with…

0

The 10 command(ment)s of Docker (NAV on Docker #6)

I recommend that you read this blog post before reading this. In this blog post I will describe the 10 docker commands I use most frequently and what I use them for. The commands can be executed in a Command Prompt, PowerShell or PowerShell ISE on a machine with Docker installed. In any case, you…

3

Multiple ways to run a NAV on Docker image (NAV on Docker #5)

If you haven’t read this blog post, then please do so before continuing here. A lot of examples (like the prior blog post) will use docker run to start a NAV on Docker container, but there are actually a lot of different ways to start these containers. Some of these methods will run the container locally,…

1

1-800-GETNAV (Nav on Docker #4)

What a cool phone number to have if you are a NAV partner in the US. Inspired by that and modernized it to the cloud world, it would be: aka-ms-getnav So here you are, probably the easiest way to spin up a NAV on Docker environment on Azure for development and test. The mechanism has…

4