mirror of https://github.com/goharbor/harbor.git
Updated Harbor FAQs (markdown)
parent
08bd02a6f7
commit
cf721be9ed
|
@ -330,6 +330,7 @@ By default, notary is using `~/.docker/trust` as the local cache directory.
|
|||
|
||||
## Trivy in Air-Gapped Environment
|
||||
**Trivy Version >= v0.23.0**
|
||||
|
||||
1. Install the harbor with `skip_update=true` and `offline_scan=true` for the trivy configuration.
|
||||
2. Download the vulnerability database and put the DB file in Trivy's cache directory
|
||||
> For the harbor installed by the Harbor offline-installer
|
||||
|
@ -343,6 +344,7 @@ docker exec -u scanner trivy-adapter rm -rf $TRIVY_TEMP_DIR
|
|||
```
|
||||
|
||||
**Trivy Version <= v0.22.0**
|
||||
|
||||
The trivy scanner can be used in air-gapped environments. The following is the steps.
|
||||
1. Install the harbor with `skip_update=true` and `offline_scan=true` for the trivy configuration.
|
||||
2. Download the vulnerability database
|
||||
|
|
Loading…
Reference in New Issue