mirror of
https://github.com/aquasecurity/trivy.git
synced 2025-12-23 07:29:00 -08:00
8 lines
224 B
Markdown
8 lines
224 B
Markdown
Docker Hub needs `TRIVY_USERNAME` and `TRIVY_PASSWORD`.
|
|
You don't need to set ENV vars when download from public repository.
|
|
|
|
```bash
|
|
export TRIVY_USERNAME={DOCKERHUB_USERNAME}
|
|
export TRIVY_PASSWORD={DOCKERHUB_PASSWORD}
|
|
```
|