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.
- 1 Project Requirements
- 2 Images
- 3 Ports
- 4 Prerequisites
- 5 Run the A1 Policy Management Service Docker Container
- 6 Run the SDNC A1 Controller Docker Container (ONAP SDNC)
- 7 Run the A1 Simulator (Near-RT-RIC simulator) Docker Containers
- 8 Run the Information Coordinator Service Docker Container
- 9 Run the NONRTRIC Gateway and NONRTRIC Control Panel Docker Container
- 10 Run the App Catalogue Service Docker Container
- 11 Run the App Catalogue (Enhanced) Service Docker Container
- 12 Run the Helm Manager Docker Container
- 13 Run the DMaaP Adapter Service Docker Container
- 14 Run the DMaaP Mediator Producer Docker Container
- 15 Run SME CAPIF Core
Project Requirements
dockeranddocker-compose(latest)curl(or similar)Additional optional requirements if using the "Helm Manager" function
kubernetesv1.19+kubectlwith admin access to kubernetes (e.g., minikube, docker-desktop kubernetes etc)helmwith 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
DMaaP MR (See: Deploy DMaaP message router in nonrtric)
kafka(latest) - only for DMaaP Adapter Service, and optional
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.
|