summaryrefslogtreecommitdiffstats
path: root/bin/abrmdcontainer/README.md
diff options
context:
space:
mode:
authorKiran Kamineni <kiran.k.kamineni@intel.com>2018-07-16 20:46:46 +0000
committerGerrit Code Review <gerrit@onap.org>2018-07-16 20:46:46 +0000
commit340f71a18cfcb41444f370a295545847db9ac912 (patch)
tree8ac2f93c696df85afcc264736ee6598a4e4f545e /bin/abrmdcontainer/README.md
parentdeb3b369b80f7825a0d7d7ac15b4a1407903a344 (diff)
parent80eb5b198a6e233740b8957902d5480732274631 (diff)
Merge "Changing the directory of ABRMD container files"
Diffstat (limited to 'bin/abrmdcontainer/README.md')
-rw-r--r--bin/abrmdcontainer/README.md27
1 files changed, 27 insertions, 0 deletions
diff --git a/bin/abrmdcontainer/README.md b/bin/abrmdcontainer/README.md
new file mode 100644
index 0000000..ad2f3bc
--- /dev/null
+++ b/bin/abrmdcontainer/README.md
@@ -0,0 +1,27 @@
+### Building Docker Images
+
+```
+$ docker build -t <image name> -f dockerfile .
+```
+
+### Running ABRMD Container
+
+```
+$ docker run -d --privileged -v /tmp/run/dbus:/var/run/dbus --name <container name> <image name>
+```
+
+### Running Tools Container
+This command will drop you into the tools container with everything setup appropriately:
+```
+# Runs without any privileges.
+# Requires that the dbus be mounted from the same host folder
+# This is to enable communication between the tools and ABRMD
+$ docker run -v /tmp/run/dbus:/var/run/dbus --name <container name> -it --entrypoint /bin/bash <image name>
+```
+
+##### Sanity Check
+Run the following command in the tools container to see if everything is setup correctly:
+
+```
+tpm2_listpcrs
+```