Show / Hide Table of Contents

Docker

With these Actions, it is possible to set up a Docker Container as a development environment.

Important

The following actions are only available if you have Windows Version 1809 or newer since Process Isolation is required
You also need to have installed the navcontainerhelper PS Module.
Install-Module navcontainerhelper

The script will create a new container for every branch type (e.g. hotfix, feature, bugfix). This is done by the naming of the branch. If you for example create a container while you are on the branch bugfix/000015A, then a bugfix-container will be created, which will be used for each bugfix task.

The following actions are possible:

Create Container

Docker create

This action will create a new Docker Container. This may take several minutes to process. Please be patient. If you have issues, please check the installation process and troubleshooting down below. If you use a Docker Container, your personal setup.json will be changed.

Start Container

Docker start

This action will start the docker container.

Stop Container

Docker stop

This action will stop the docker container.

Remove Container

Docker remove

This action will remove the docker container and restore your personal setup.

Container PS

Docker container PS

This action opens a PowerShell session to your container.

Eventlog

Docker eventlog

This action opens the container eventlog.

Import License

Docker import license

This action will import a selected flf file to your container.

Installation of docker

Please check the Docker Setup

Troubleshooting

Run following PS Commands You can use the following commandlet to check if everything is setup properly. (NavContainerhelper has be installed on you PC)

Check-NavContainerHelperPermissions

If this script encounters some issues, please run the following command to fix it

Check-NavContainerHelperPermissions -fix

Another possible issue is that there is no license in the workspace folder. Please make sure that there is a valid license file available.

Back to top Generated by DocFX