Вернуться   AXForum > Microsoft Dynamics NAV > NAV: Blogs
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск Все разделы прочитаны

Опции темы Поиск в этой теме Опции просмотра
Старый 24.05.2018, 05:02   #1  
Blog bot is offline
Blog bot
21,902 / 759 (69) +++++++
Регистрация: 28.10.2006
stoneridgesoftware: How to Use Docker Containers for Dynamics NAV

Wondering how to use Docker Containers for Dynamics NAV? The first step on getting started with Docker Containers is selecting the Docker Container Tag from this list at This will be used in the place of .

Next Open – Click on Cloud Shell Icon

If you have never used Cloud Shell, you can find a great Overview of Azure Cloud Shell here.

Next, Create a Storage Account, if you do not have one already.

For our examples, we will Run Cloud Shell – Bash (You may need to change from PowerShell).

If this is your first time Creating an Azure Container, you will need to first Create Resource Group. This only has to be run once.

az group create --name DockerContainersNAV--location eastusNow, for the moment we have all been waiting for!  Let’s Create a Docker Container!

az container create --name --image microsoft/dynamics-nav: --resource-group DockerContainersNAV --os-type Windows --cpu 2 --memory 3 --environment-variables ACCEPT_EULA=Y --ip-address public --port 443 1433 7046 7049 8080Let it run for 10-15 Minutes – Provisioning times for Docker Containers may vary

If you are impatient and want to check the Provisioning State status now, run the following command:

az container show --resource-group DockerContainersNAV--name

Once the Azure Container is finished the “provisioningState” will be “Succeeded”.

Now that your Docker Container is running, you need to look at the details of what you just created.

You will need to run the following command:

az container logs --resource-group DockerContainersNAV --name

Make note of the Following:
• NAV Admin Username
• NAV Admin Password
• Container DSN Name
• Certificate.cer URL

Next, you will need to find the Public IP Address by Searching for the Container Group you created with the

Now for the tricky part.  You will need to use the Poor Man’s DNS, because the DNS that the Docker Container created is just random Hex Values. To do this, navigate to the following:


You will see a file Named Host without any extension. Right Click on the file and Open with Notepad Editor

Add the Public IP Address, then a space, then the Container DSN Name.

Save the file and make sure it doesn’t have an extension. The file name should just be host’s.

You can test your Poor Man’s DNS by navigating to the Certificate.cer URL:


You will download the Certificate.cer and install in the Trusted Publishers Certificate Store.

Now you are ready to Navigate to the Web Client


You will use the NAV Admin Username and NAV Admin Password you got with the logs command:

az container logs --resource-group DockerContainersNAV --name

But what about the DEV Client?  You will need to add some special syntax to connect:

  1. You will need to enter tcp:\nav,1433
  2. Change Authentication to Database Server Authentication
  3. User ID will be sa – SQL Admin
  4. Password: will be the NAV Admin Password
  5. Select the Database Name CronusNA
You are ready for DEV in your new Azure Docker Container!

Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
german_nav_developer: Buildnummern-Übersicht Microsoft Dynamics NAV 2013 Blog bot NAV: Blogs 0 15.05.2016 18:12
Platform updates overview - 3.70.B - NAV2009 R2 Blog bot Dynamics CRM: Blogs 0 07.02.2011 22:06
german_nav_developer: Buildnummern-Übersicht Microsoft Dynamics NAV 2009 SP1 Blog bot Dynamics CRM: Blogs 0 11.06.2010 16:33
german_nav_developer: Buildnummern-Übersicht Microsoft Dynamics NAV 2009 Blog bot Dynamics CRM: Blogs 0 04.06.2010 13:21
Nav developer: Overview of NAV blogs in 2008 Blog bot Dynamics CRM: Blogs 0 07.12.2008 02:18
Опции темы Поиск в этой теме
Поиск в этой теме:

Расширенный поиск
Опции просмотра

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Часовой пояс GMT +3, время: 06:30.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.