Trivy容器漏洞扫描数据库更新 因为harbor内置了Trivy,而harbor环境是在内网,需要通过本地下载后才能进行更新,就记录一下步骤吧。 数据清单参考了官网文档:https://aquasecurity.github.io/trivy/v0.40/docs/vulnerability/db/ Trivy uses two types of databases for vulnerability detection: Vulnerability D...
Harbor数据迁移
- 2
Trivy容器漏洞扫描数据库更新 因为harbor内置了Trivy,而harbor环境是在内网,需要通过本地下载后才能进行更新,就记录一下步骤吧。 数据清单参考了官网文档:https://aquasecurity.github.io/trivy/v0.40/docs/vulnerability/db/ Trivy uses two types of databases for vulnerability detection: Vulnerability D...
harbor私有仓库admin密码重置 harbor私有仓库,默认密码Harbor12345,不及时修改会过期导致无法登录或者修改了不记得密码也一样。 解决问题 1.进入容器 docker exec -it harbor-db /bin/bash 2.连接数据库 psql -h postgresql -d postgres -U postgres #默认密码是:root123 详见 harbor安装配置文件 3.切换数据库 ...
harbor镜像仓库搭建配置 1.安装docker-compose(已经安装省略) 1. 下载 在 Linux 上的也安装十分简单,从 官方 GitHub Release 处直接下载编译好的二进制文件即可。 例如,在 Linux 64 位系统上直接下载对应的二进制包。 sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-...