summaryrefslogtreecommitdiffstats
path: root/bin/abrmdcontainer/README.md
blob: ad2f3bc6479129796504f8e80334b59004c4812e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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
```