harbor 镜像仓库添加离线安全扫描Vulnerability Data
harbor
Harbor 是一个开源的容器镜像仓库,用于存储和管理 Docker 镜像和其他容器镜像。 * 容器镜像仓库、存储和管理 Docker 镜像和其他容器镜像 * 有什么特点:支持多种镜像格式、易于使用、安全性和访问控制
项目地址:https://gitcode.com/gh_mirrors/ha/harbor
·
1、Dump Vulnerability Data
docker exec b1e093cde3ab /bin/sh -c "pg_dump -U postgres -a -t feature -t keyvalue -t namespace -t schema_migrations -t vulnerability -t vulnerability_fixedin_feature" > vulnerability.sql
docker exec b1e093cde3ab /bin/sh -c "pg_dump -U postgres -c -s" > clear.sql
2、Back Up the Harbor Clair Database
docker exec harbor-db /bin/sh -c "pg_dump -U postgres -c" > all.sql
3、Update the Harbor Clair Database
docker exec -i harbor-db psql -U postgres < clear.sql
docker exec -i harbor-db psql -U postgres < vulnerability.sql
Harbor 是一个开源的容器镜像仓库,用于存储和管理 Docker 镜像和其他容器镜像。 * 容器镜像仓库、存储和管理 Docker 镜像和其他容器镜像 * 有什么特点:支持多种镜像格式、易于使用、安全性和访问控制
最近提交(Master分支:3 个月前 )
29bd0947
* fix robot deletion event
Signed-off-by: wang yan <wangyan@vmware.com>
* resolve comments
Signed-off-by: wang yan <wangyan@vmware.com>
---------
Signed-off-by: wang yan <wangyan@vmware.com> 10 天前
05233b07
fix: event-based replication deletion not work when policy with label filter
Fix event-based replication deletion on remote registry not triggered
when the replication policy configured the label filter.
Signed-off-by: chlins <chlins.zhang@gmail.com> 10 天前
更多推荐

所有评论(0)