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 <imagename> -f dockerfile .
11 ### Running the CA service container - Below command will run and log you into the container
14 $ docker run -d -e DATA_FOLDER=<Location of shared directory> -v /tmp/run/dbus:/var/run/dbus:rw -v /tmp/volume:/tmp/files:rw --name <containername> -i -t --entrypoint=/bin/bash <imagename>
17 ### Login to the container
19 $ docker exec -it <containername> /bin/bash
22 ### Running the Import utility
27 ### Running the Import utility with stress test with multithreading
29 $ ./testca/test/multithreadimport.sh
31 #### Make sure the TABRMD container is running on the same dbus mountpoint on the host as the CA service container
33 ### Expected Input files for SoftHSM operations
34 ### 1. passphrase 2. privkey.pem.gpg 3. ca.cert
37 ### Expected Input files for TPM Hardware opeartion
38 ### 1. ca.cert 2. duPEncKey 3. dupPriv 4. dupPub 5. dupSymseed 6. tpm_handle (srkhandle)
41 ### Expected Input for Application's operations
42 ### 1. test.csr 2. CaSign.java(Application file) 3. ca.cert
43 ### Output - test.cert (in /tmp Directory)