All Projects → Koubek → nav-docker-examples

Koubek / nav-docker-examples

Licence: MIT license
Examples and use-cases for MS Dynamics NAV on Docker

Programming Languages

powershell
5483 projects
PLpgSQL
1095 projects

Projects that are alternatives of or similar to nav-docker-examples

dockerfiles-dynamics-nav
Dockerfiles for MS Dynamics NAV
Stars: ✭ 25 (+19.05%)
Mutual labels:  nav, dynamics-nav, dynamicsnav
NAV
MS Dynamics Nav utilities and tools
Stars: ✭ 16 (-23.81%)
Mutual labels:  dynamics-nav, dynamicsnav
VoiceBridge
VoiceBridge - an AI-TOOLKIT Open Source C++ Speech Recognition Toolkit
Stars: ✭ 17 (-19.05%)
Mutual labels:  examples
ros2 examples
Examples for individual ROS2 functionalities inc. Subscribers, Publishers, Timers, Services, Parameters. ...
Stars: ✭ 46 (+119.05%)
Mutual labels:  examples
mindpatterns
HTML Accessibility Pattern Examples
Stars: ✭ 78 (+271.43%)
Mutual labels:  examples
idyntree
Multibody Dynamics Library designed for Free Floating Robots
Stars: ✭ 109 (+419.05%)
Mutual labels:  dynamics
ilrx
I Love Ruby Examples
Stars: ✭ 35 (+66.67%)
Mutual labels:  examples
esbuild-loader-examples
esbuild-loader examples
Stars: ✭ 76 (+261.9%)
Mutual labels:  examples
neeo-sdk-examples
NEEO Brain SDK Examples
Stars: ✭ 19 (-9.52%)
Mutual labels:  examples
design-patterns-in-java
☕ 📖 使用通俗易懂的案例,类图,及配套学习笔记来详解 Java 的二十三种设计模式 !
Stars: ✭ 35 (+66.67%)
Mutual labels:  examples
three-stdlib
📚 Stand-alone library of threejs examples designed to run without transpilation in node & browser
Stars: ✭ 380 (+1709.52%)
Mutual labels:  examples
FCND-Term1-P3-3D-Quadrotor-Controller
Udacity Flying Car Nanodegree - Term 1 - Project 3 - 3D Quadrotor Controller
Stars: ✭ 31 (+47.62%)
Mutual labels:  dynamics
tkinterhowtos
A software package containing solutions to simple (and possibly recurrent) "how to" problems in tkinter.
Stars: ✭ 18 (-14.29%)
Mutual labels:  examples
awesome-kotlin-libraries-for-android
😎 A curated list of awesome Kotlin libraries for Android.
Stars: ✭ 53 (+152.38%)
Mutual labels:  examples
nativescript-vue-examples
🍈 NativeScript and Vue code samples.
Stars: ✭ 13 (-38.1%)
Mutual labels:  examples
go-learning
My Golang training material for testing smaller Go concepts and ideas.
Stars: ✭ 27 (+28.57%)
Mutual labels:  examples
go-examples
Various golang examples.
Stars: ✭ 34 (+61.9%)
Mutual labels:  examples
broadway bike sharing rabbitmq example
An example of a Broadway pipeline for a bike sharing app with RabbitMQ and PostgreSQL
Stars: ✭ 27 (+28.57%)
Mutual labels:  examples
libra-code
quantum-dynamics-hub.github.io/libra/index.html
Stars: ✭ 33 (+57.14%)
Mutual labels:  dynamics
evolution
Evolution process of The Falco Project
Stars: ✭ 37 (+76.19%)
Mutual labels:  examples

Examples and use-cases for MS Dynamics NAV on Docker

!!! IMPORTANT !!!

At this moment, all examples use Docker images for MS Dynamics NAV provided by Microsoft.

Microsoft at the moment doesn`t provide the images in the public repositories (e.g. Docker Hub). Instead, there is a private repository for testing purposes only. Currently, they have been opened to give the access to the private/testing repository to anyone interested and willing to do some tests and provide a feedback. This can change at any moment I suppose.

Microsoft has recently started with publishing of the images into the official Docker Hub. Currently anyone can start using NAV on Docker. Please, read all the information in the repository to understand which version will be published in the repo, how to localize them and for what purposes you are allowed to use them. Microsoft, many thanks!!!

Also, you can visit Microsoft GitHub repository nav-docker with the source code they use to build the images. There, you can also register any issue that will appear during the testing.

It is pretty possible that some examples could fail because of the breaking changes in the sources images. Please, in this case I will appreciate your feedback (create an issue).

PREREQUISITES AND GENERAL SETUP

  • Docker has to be installed and properly configured on your Win10 / WinServer2016 (or higher) machine. Some examples will need some extra setups but those will be described for each example explicitly.
  • If you want to install Docker EE on your Windows Server you can use InstallDockerEE.ps1 script that will install Containers Windows Feature and then Docker EE. The script can be used also to upgrade your current version. It detects an existing (installed) Docker EE version present on your host and let you compare your version with the newest one available to download and install. If you confirm the new version will be downloaded and installed. This is very useful in case you are waiting for a specific Docker release and you want to check if this release has been already pushed into the repo or not.
  • By default, we will be using NAT network which is the default one configured during the Docker installation process. You can find more details about Docker networking here.
  • All examples specify NAV docker image using ${NAV_DOCKER_IMAGE} variable. This gives us some sort of flexibility in case Microsoft migrate the repository or change the name of the images, tags etc.
  • So the first step, before you run any script including docker run command, is setting the variable. For example:
# Private Microsoft Repository for NAV previews and for internal purposes.
$NAV_DOCKER_IMAGE = 'navdocker.azurecr.io/dynamics-nav:devpreview'

# Official images available on Docker Hub (I will use the last W1 version):
$NAV_DOCKER_IMAGE = 'microsoft/dynamics-nav'

EXAMPLES

  • basic - This is the most elemental example. I would recommend running exactly this one at the very first moment to validate that everything is working fine. You specify the minimum of the parameters.

  • basic with user+pwd defined - Similar to the previous one but you specify user name, user pwd, container hostname, container name. There are also described some security concerns (security of the password you use). The example includes two variants.

  • winauth (shared) + VS Code - This example demonstrates shared Windows authentication. We will also see new security approach that will protect your password. This security approach is applicable to any authentication mechanism (so the WinAuth is not the only one) that requires providing a password in an explicite way.

    We will created and published ClickOnce package. And finally, we will try to connect from VS Code to the container`s dev services.

  • winauth on Docker Swarm + Secrets - One of the advanced scenarios. We will increase the security of your credentials using Docker Swarm`s Secrets. We will also talk about the scaling capabilities of the Docker Swarm. You will need to promote your docker host on the Docker Swarm node. But don`t worry, this is actually quite easy to do.

  • share data using mounts - In case you need to share (for example) add-ins between your Docker host and containers Docker Volumes would be probably the easiest way for you.

  • locally copied C/SIDE - An example that will demonstrate how to copy client folder down to your docker host to be able to access C/SIDE without installing it. You don`t need to run gMSA. Actually, I use the WinAuth hack (mentioned before) in the example.

  • gMSA - This is one of the most complex examples, it will be updated when I have some time. I am starting with the scripts, later I'll improve them and I'll add the documentation.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].