aboutsummaryrefslogtreecommitdiffstats
path: root/bin/README.md
diff options
context:
space:
mode:
authorGirish Havaldar <hg0071052@techmahindra.com>2018-05-23 04:04:17 +0000
committerGerrit Code Review <gerrit@onap.org>2018-05-23 04:04:17 +0000
commit4c727ecb7cf150a2c054e7581f3d135cecccf296 (patch)
treee960cc18b086512cbf3de272269831c291ac4956 /bin/README.md
parentc1c9bfcabc4a5e4147d19c599de7d9bf925fa98b (diff)
parentc2a9c2799e0efaf04ca813dc160333363ac156a5 (diff)
Merge "Adding support for containerized tss and abrmd"
Diffstat (limited to 'bin/README.md')
-rw-r--r--bin/README.md27
1 files changed, 27 insertions, 0 deletions
diff --git a/bin/README.md b/bin/README.md
new file mode 100644
index 0000000..c4c54ca
--- /dev/null
+++ b/bin/README.md
@@ -0,0 +1,27 @@
+### Building Docker Images
+
+```
+$ docker build -t <image name> -f tpmdockerfile .
+```
+
+### 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
+```