summaryrefslogtreecommitdiffstats
path: root/bin/caservicecontainer/README
blob: c4c73e877d0d7543de6fdd195e3fe70830b0f58a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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