搭建docker仓库harbor
1.下载harbor包文件wget https://github.com/vmware/harbor/archive/master.zip2.解压并编辑harbor.cfgunzip master.zipcd harbor-master/makeharbor.cfg配置根据情况修改hostname = docker.qguanzi.comemail_server = smtp.qguanzi.
·
1.下载harbor包文件
wget https://github.com/vmware/harbor/archive/master.zip
2.解压并编辑harbor.cfg
unzip master.zip
cd harbor-master/make
harbor.cfg配置根据情况修改
hostname = docker.example.com
email_server = smtp.example.com
email_server_port = 25
email_username = yourname@email.com
email_password = ******
email_from = yourname <yourname@email.com>
harbor_admin_password = ******
3.安装docker-compose命令
pip install docker-compose
4.安装并启动docker服务(见本博其他文章)
5.可根据情况修改配置docker-compose.yml
cp docker-compose.tpl docker-compose.yml
6.安装
./install.sh
7.启动
docker-compose start
开放原子开发者工作坊旨在鼓励更多人参与开源活动,与志同道合的开发者们相互交流开发经验、分享开发心得、获取前沿技术趋势。工作坊有多种形式的开发者活动,如meetup、训练营等,主打技术交流,干货满满,真诚地邀请各位开发者共同参与!
更多推荐
已为社区贡献1条内容
所有评论(0)