Harbor仓库迁移

警告
本文最后更新于 2022-07-01,文中内容可能已过时。

本次迁移系统由 CentOS7 到 Alpine Linux 3.12

需要安装好docker

harbor 执行./install.sh报错

-ash: ./install.sh: not found

安装 bash

1
apk add bash

common.sh: line 13: tput: command not found

没有 tput ,安装 ncurses

1
apk add ncurses

配置新的仓库连接信息

https://img.bwcxtech.com/img/20210428111143.png

手动触发即可,因为这里迁移只做一次同步

https://img.bwcxtech.com/img/20210428111233.png

开始同步

点击复制,耐心等待即可

https://img.bwcxtech.com/img/20210428111330.png