2 ### Create a directory /tmp/volume (mkdir -p /tmp/volume) on host.
3 ### This is used as shared volume and mounted inside container
5 ### Build docker image with a base image
8 $ docker build -t <image name> -f dockerfile .
11 ### Running the CA service container - Below command will run and log you into the container
14 $ docker run -v /tmp/run/dbus:/var/run/dbus:rw -v /tmp/volume:/tmp/files:rw --name <container name> -i -t --entrypoint=/bin/bash <image name>
17 ### Running the Import utility
21 #### Make sure the TABRMD container is running on the same dbus mountpoint on the host as the CA service container
23 ### Expected Input files for SoftHSM operations
24 ### 1. passphrase 2. privkey.pem.gpg 3. ca.cert
27 ### Expected Input files for TPM Hardware opeartion
28 ### 1. ca.cert 2. duPEncKey 3. dupPriv 4. dupPub 5. dupSymseed 6. tpm_handle (srkhandle)
31 ### Expected Input for Application's operations
32 ### 1. test.csr 2. CaSign.java(Application file) 3. ca.cert
33 ### Output - test.cert (in /tmp Directory)