diff options
author | Pramod Raghavendra Jayathirth <pramod.raghavendra.jayathirth@intel.com> | 2018-07-11 09:21:53 -0700 |
---|---|---|
committer | Pramod Raghavendra Jayathirth <pramod.raghavendra.jayathirth@intel.com> | 2018-07-16 04:42:08 -0700 |
commit | 80eb5b198a6e233740b8957902d5480732274631 (patch) | |
tree | 16ad32f13163d50721ac8ecb659d0598550f0559 /bin/abrmdcontainer/README.md | |
parent | a00f00a2c5f390281196e371280f4f481a5f4be0 (diff) |
Changing the directory of ABRMD container files
Including the ABRMD in a seperare directory for
better organization
Change-Id: I1097a2d7be5bc99b40b0bd59a4bdb939478d5129
Issue-ID: AAF-342
Signed-off-by: Pramod Raghavendra Jayathirth <pramod.raghavendra.jayathirth@intel.com>
Diffstat (limited to 'bin/abrmdcontainer/README.md')
-rw-r--r-- | bin/abrmdcontainer/README.md | 27 |
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 +``` |