Skip to content

Commit 7917c54

Browse files
committed
chore: update docs
Signed-off-by: James Petersen <jpetersenames@gmail.com>
1 parent 8d7e025 commit 7917c54

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,17 @@ Run inside Docker:
1111

1212
```bash
1313
docker run \
14+
--pull always \
1415
--env RUST_LOG=debug \
1516
--env EDERA_PREFLIGHT_VERBOSE=true \
17+
--env EDERA_PREFLIGHT_TARGET_DIR='/host' \
1618
--env EDERA_PREFLIGHT_SKIP_GROUPS='ScriptedChecks;SystemChecks' \
1719
--env EDERA_PREFLIGHT_SCRIPTS_DIR=/scripts \
18-
<image>
20+
--volume /:/host \
21+
--pid host \
22+
--net host \
23+
--privileged \
24+
us-central1-docker.pkg.dev/edera-protect/staging/protect-preflight:main
1925
```
2026

2127
---
@@ -28,6 +34,8 @@ docker run \
2834
| `EDERA_PREFLIGHT_VERBOSE` | Enable verbose output (`true`/`false`). | `true` |
2935
| `EDERA_PREFLIGHT_SKIP_GROUPS` | Semicolon-separated list of groups to skip. | `SystemChecks;ScriptedChecks` |
3036
| `EDERA_PREFLIGHT_SCRIPTS_DIR` | Directory containing custom shell-script checks. | `/scripts` |
37+
| `EDERA_PREFLIGHT_TARGET_DIR` | Directory to chroot to before running checks. Needed when running in a container. | `/host` |
38+
| `EDERA_PREFLIGHT_REPORT_DIR` | Directory to write a report to. Defaults to tmpdir | `/tmp` |
3139

3240
---
3341

0 commit comments

Comments
 (0)