summaryrefslogtreecommitdiffstats
path: root/pnda-mirror-container/README.md
diff options
context:
space:
mode:
authorJulien Barbot <julien@barbot.org>2018-08-20 18:42:48 +0200
committerJulien Barbot <julien@barbot.org>2018-08-27 11:37:25 +0200
commitbfa1bbeb4ecb4908325d8a2ca92a91db8b0b5aa6 (patch)
tree0ad765ab118490c27ad77b1d620c345179e874fa /pnda-mirror-container/README.md
parent45cb899800a171a398238665009af73927969db0 (diff)
Add pnda-mirror container creation
Issue-ID: DCAEGEN2-367 Change-Id: I3cdc20717890692cc4f81d6527598267b8efd798 Signed-off-by: Julien Barbot <julien@barbot.org>
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.