summaryrefslogtreecommitdiffstats
path: root/pnda-mirror-container/README.md
diff options
context:
space:
mode:
authorLusheng Ji <lji@research.att.com>2018-08-27 15:28:59 +0000
committerGerrit Code Review <gerrit@onap.org>2018-08-27 15:28:59 +0000
commit88e7ac4f5511e8bc51b61ff0b7d55a270cd46a80 (patch)
tree7d206b8185700fc9791c38994406bfc6d2f8f9b6 /pnda-mirror-container/README.md
parent6c1a14ac426f0df0f4dc2a10f478252fbb7eeaaf (diff)
parentbfa1bbeb4ecb4908325d8a2ca92a91db8b0b5aa6 (diff)
Merge "Add pnda-mirror container creation"
Diffstat (limited to 'pnda-mirror-container/README.md')
-rw-r--r--pnda-mirror-container/README.md23
1 files changed, 23 insertions, 0 deletions
diff --git a/pnda-mirror-container/README.md b/pnda-mirror-container/README.md
new file mode 100644
index 0000000..6312439
--- /dev/null
+++ b/pnda-mirror-container/README.md
@@ -0,0 +1,23 @@
+# PNDA Mirror
+## Purpose
+The artifacts in this directory build a Docker image based public PNDA mirror
+creation scripts. The container have all the needed offline resources to
+deploy a PNDA platform.
+
+## Running the Container
+The container is intended to be launched via a Helm chart as part
+of the ONAP deployment process, guided by OOM. It can be run directly
+into a native Docker environment, using:
+```
+docker run --name pnda-mirror -d --restart unless-stopped \
+ -v /sys/fs/cgroup:/sys/fs/cgroup:ro \
+ -p <some_external_port>:8080 \
+ --tmpfs /run \
+ --tmpfs /run/lock \
+ --security-opt seccomp:unconfined
+ --cap-add SYS_ADMIN \
+ <image_name>
+```
+
+We also expect that in a Kubernetes environment the external port mapping would not be
+needed.