aboutsummaryrefslogtreecommitdiffstats
path: root/bin/README.md
blob: c4c54ca6e5cd5e4a3e2a14a955a16cdc1b0f4ec9 (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 tpmdockerfile .
```

### 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
```