Merge "config for 5.0.0 policy-handler new PDP API"
[dcaegen2/deployments.git] / pnda-mirror-container / README.md
1 # PNDA Mirror
2 ## Purpose
3 The artifacts in this directory build a Docker image based public PNDA mirror
4 creation scripts. The container have all the needed offline resources to
5 deploy a PNDA platform.
6
7 ## Running the Container
8 The container is intended to be launched via a Helm chart as part
9 of the ONAP deployment process, guided by OOM. It can be run directly
10 into a native Docker environment, using:
11 ```
12 docker run --name pnda-mirror -d --restart unless-stopped \
13    -v /sys/fs/cgroup:/sys/fs/cgroup:ro \
14    -p <some_external_port>:8080 \
15    --tmpfs /run \
16    --tmpfs /run/lock \
17    --security-opt seccomp:unconfined
18    --cap-add SYS_ADMIN \
19    <image_name>
20 ```
21
22 We also expect that in a Kubernetes environment the external port mapping would not be
23 needed.