All Around Microsoft Dynamics Business Central

Create Dynamics NAV Docker images with a custom SQL database

I created a simple Dockerfile and a Powershell script to create an custom docker image based on an offical Microsoft image.

Based on an custom image you can create multiple Test and/or Development Environments with an minimum storage footprint.


Only five steps are needed to create an custom image.

  1. Make a backup of the database to be used as the basis for the new image.
  2. Clone this repository to your Docker host.
  3. Place your SQL backup in the custom\backup directory.
  4. Set the correct source docker image in the Dockerfile.
  5. Create the custom image with:
    docker build -t sample/custom .

Now you can create container based on your new image!

 docker run -e ACCEPT_EULA=Y sampe/custom


Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht.