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

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

NavContainerHelper – Setup CSIDE development environment with source code management

Most partners have different ways of setting up their CSIDE development environments and a number of partners are also using source code management to manage their source code. I have seen a few presentations on different ways of doing this and I will try to show how Docker and especially the NavContainerHelper can be used…

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

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