Docker Images and Containers

OpenRules-based business decision models can be packaged as Docker images and then deployed as Docker containers using any of the following container registries:

  • Google Container Registry (GCR)
  • Amazon Elastic Container Registry (ECR)
  • Docker Hub Registry
  • Azure Container Registry (ACR).

To deploy your decision model as a Docker image/container, first you need to convert it to a RESTful Web Service as described here. Then you should start your Docker desktop and double-click on the standard batch file “buildDocker.bat” that will package your RESTful web service as a Docker image. Then you follow instructions of a selected container registry to deploy the produced Docker image as a container.

Internally OpenRules Decision Manager utilizes Google Container Tool “Jib” but it completely protects you from necessity to learn this or other powerful but complex open-source tools. 

You may build Docker images from the projects “VacationDaysRest” or “VacationDaysSpringBoot” included in the standard installation.  More information is available in the User Manual for Developers.