Release K - Run in Docker

Release K - Run in Docker

This page describes how to run various NONRTRIC functions in Docker.

In this sample deployment all NONRTRIC components run as docker containers and communicate via a private docker network with container ports, where ports are also available on localhost.

Details of the architecture can be found from Release K page.

Project Requirements

  • docker and docker-compose (latest)

  • curl (or similar)

  • Additional optional requirements if using the "Helm Manager" function

    • kubernetes v1.19+

    • kubectl with admin access to kubernetes (e.g., minikube, docker-desktop kubernetes etc) 

    • helm with access to kubernetes - this is only applicable when running the Helm Manager example operations 

  • Addition optional requirement if using the "DMaaP Adapter" or "DMaap Mediator Producer" services

Images

The images used for running the Non-RT RIC can be selected from the table below depending on if the images are built manually (snapshot image) or if release images shall be used.

In general, there is no need to build the images manually unless there are code changes made by the user, so release images should be used. Instruction on how to build all components, see. Release K - Build.

The run commands throughout this page uses the release images and tags. Replace the release images/tags in the container run commands in the instructions if manually-built snapshot images are desired. 

K Release - Images & Tags

Ports

The following ports will be allocated and exposed to localhost for each component. If other port(s) are desired, then the ports need to be replaced in the container run commands in the instructions further below.

 

Component

Port exposed to localhost (http/https)

A1 Policy Management Service

8081/8443

A1 Simulator (Near-RT RIC simulator) 

8085/8185,  8086/8186, 8087/8187

Information Coordinator Service

8083/8434

Non-RT RIC Control Panel

8080/8880

SDNC A1-Controller

8282/8443

Gateway

9090 (only http)

App Catalogue Service

8680/8633

Helm Manager

8112 (only http)

DMaaP Mediator Producer

9085/9185

DMaaP Adapter Service

9087/9187

SME-CapifCore

8090 (only http)

Prerequisites

The containers need to be connected to docker network in order to communicate with each other.

Create a private docker network. If another network name is used, all references to 'nonrtric-docker-net' in the container run commands below need to be updated.

docker network create nonrtric-docker-net