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 SpringBoot and Google Container Tool “Jib” but it completely protects you from necessity to learn these powerful but complex open-source tools. 

The project “VacationDaysSpringBoot” included in the standard installation demonstrates how to deploy your decision model to a RESTful web service and then to a Docker image.