diff options
author | Pramod Raghavendra Jayathirth <pramod.raghavendra.jayathirth@intel.com> | 2018-07-02 12:06:50 -0700 |
---|---|---|
committer | Pramod Raghavendra Jayathirth <pramod.raghavendra.jayathirth@intel.com> | 2018-07-19 08:37:58 -0700 |
commit | 2047f38adb5e6724143d53657e7c590adef23514 (patch) | |
tree | a4774d07db65e9906085ba7816d65e1429019c89 /bin/caservicecontainer/README | |
parent | 37ae03d707d87c00f49feaface32c38286013029 (diff) |
Adding the CA service container
Adding the dockerfile and required scripts
to implement CA service container functionality
Issue-ID: AAF-342
Change-Id: I8ea086008d0d8e50bfad3886c741ba21642ac974
Signed-off-by: Pramod Raghavendra Jayathirth <pramod.raghavendra.jayathirth@intel.com>
Diffstat (limited to 'bin/caservicecontainer/README')
-rwxr-xr-x | bin/caservicecontainer/README | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/bin/caservicecontainer/README b/bin/caservicecontainer/README new file mode 100755 index 0000000..c4c73e8 --- /dev/null +++ b/bin/caservicecontainer/README @@ -0,0 +1,20 @@ + +### Copy the ~/sshsm/test/integration/samplecaservicecontainer to /tmp/samplecaservicecontainer on host machine where the +### containers will be running +### "samplecaservicecontainer" directory is considered as the sample shared volume for now +### The files directory will be mounted on the container +### the bash script test.sh ~/sshsm/test/integration/samplecaservicecontainer/scripts has the steps which are executed by this container as per design. It can be run by the user with sudo rights + +### Build docker image with a base image + +```` +$ docker build -t <image name> -f dockerfile . +```` + +### Running the CA service container + +```` +$ docker run -d -v /tmp/run/dbus:/var/run/dbus:rw -v /tmp/samplecaservicecontainer:/tmp/files:rw --name CAServicecontainer <image name> +```` + +#### Make sure the TABRMD container is running on the same dbus mountpoint on the host as the CA service container |