k8s harbor搭建过程

安装docker 

安装docker-compose

curl -L https://github.com/docker/compose/releases/download/1.8.1/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose

建立软连接cp docker-compose /usr/local/bin 或 ln -s docker-compose /usr/bin/docker-compose

查看安装是否成功docker-compose --version

 

安装harbor 

wget -c https://storage.googleapis.com/harbor-releases/release-1.8.0/harbor-offline-installer-v1.8.2-rc1.tgz
tar zxvf harbor-offline-installer-v1.8.2-rc1.tgz
cd harbor
vim harbor.yml修改ip和密码

./install.sh

k8s harbor搭建过程

上一篇:常用快捷键


下一篇:二分查找经典模板