File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,11 +11,17 @@ Run inside Docker:
1111
1212``` bash
1313docker 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
You can’t perform that action at this time.
0 commit comments