1 Star 0 Fork 35

tangrun/docker-compose

forked from 小龙人/docker-compose 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
habor.sh 946 Bytes
一键复制 编辑 原始数据 按行查看 历史
huangchengkang 提交于 2019-11-08 13:58 . harbor
#!/bin/sh
# https://blog.csdn.net/mtldswz312/article/details/99948905
# Q:Error response from daemon: Get https://192.168.3.104/v2/: dial tcp 192.168.3.104:443: connect: connection refused
# A:vi /etc/docker/daemon.json
# {"registry-mirrors": ["http://ced808ab.m.daocloud.io"],"insecure-registries": ["192.168.3.104"]}
cd /usr/local/
wget https://storage.googleapis.com/harbor-releases/release-1.8.0/harbor-offline-installer-v1.8.0.tgz
tar zxvf harbor-offline-installer-v1.8.0.tgz
rm -rf harbor-offline-installer-v1.8.0.tgz
cd harbor
cat harbor.yml
# 需要手动设置IP地址或者域名
sed -i 's/hostname: reg.mydomain.com/hostname: 192.168.3.104/g' harbor.yml
sh prepare
sh install.sh
# http://192.168.3.104/harbor
# 登录:docker login -u kancy -p Harbor12345 192.168.3.104
# 镜像:docker tag kancy/spring-boot-docker 192.168.3.104/devs/kancy/spring-boot-docker:1.0
# 推送:docker push 192.168.3.104/devs/kancy/spring-boot-docker
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/tangrunlive/docker-compose.git
git@gitee.com:tangrunlive/docker-compose.git
tangrunlive
docker-compose
docker-compose
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385