当前位置: 首页 > news >正文

泰州网站建设策划方案广州aso优化

泰州网站建设策划方案,广州aso优化,百度收录最新方法,网站名称和域名有关系Ubuntu安装harbor(http模式) docker和harbor的介绍就免了,都不知道啥东西,还安装搞毛 先安装docker环境 不要问,软件源之类的配置,挨个梭就行 sudo apt update sudo apt install apt-transport-https ca…

Ubuntu安装harbor(http模式)

docker和harbor的介绍就免了,都不知道啥东西,还安装搞毛

先安装docker环境

不要问,软件源之类的配置,挨个梭就行

sudo apt update
sudo apt install apt-transport-https ca-certificates curl gnupg-agent software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository “deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable”

必要梭哈的搞完了正式安装docker

sudo apt update
sudo apt install docker-ce docker-ce-cli containerd.io

验证是否正常

sudo systemctl status docker

显示

安装harbor

github选版本下载
下载的tgz文件放到/usr/local,解压

cd /usr/local
tar -xvf harbor-offline-installer-v2.8.3.tgz
cd harbor
cp harbor.yml.tmpl harbor.yml #复制一份修改,万一发生万一了,有个复原的
vim harbor.yml

在这里插入图片描述
80端口容易冲突,有个nginx什么的,但是80端口好用啊
Https搞不明白的,建议注释掉,写博客的时候我已经注释了
蓝色的是默认密码,记一下就行,不用改
保存退出,执行安装指令

sudo ./install.sh

在这里插入图片描述
打开浏览器访问地址http://ip:port/harbor,我的本机不加/harbor老是跳转到https
admin/Harbor12345
登录

上传一个镜像

登录到harbor的管理系统后,在项目选择新建项目
在这里插入图片描述

先登录

docker login hostname(harbor.yml配置的那个)

先看一下本地都有些啥镜像

docker images

反正就是为了推一个镜像测试功能,新搞一个helloWorld的镜像上传也行,找个现成的推一下也行
docker images列表,刚刚安装haibor保底有以下的镜像
在这里插入图片描述
用最小的goharbor做示例,添加一个tag

docker tag goharbor/registry-photon:v2.8.2 hostname/test/registry:v1

使用docker images能看到镜像列表多了一行

docker push hostname/test/registry:v1

提示成功后,去harbor管理系统打开test查看

问题和处理

  1. denied: requested access to the resource is denied
    分析: 未登录 或 登录别的地址 或 push的地址不对。
    办法: docker login xxxx(没有这个地址默认登陆到dockerhub了),之前登录成功过,会自动验证通过。harbor默认账密:admin/Harbor12345
    登录是成功的,考虑推送的地址有问题,打开系统,看一下正确的应该是啥格式
    在这里插入图片描述

  1. Error response from daemon: Get “https://xx.xx.xx.xx/v2/”: dial tcp xx.xx.xx.xx:443: connect: connection refused

分析: harbor地址是http的,但是你的docker链接的时候非要用https,导致绿驴唇不对马嘴,
办法: 修改docker.service文件,文件位置:/usr/lib/systemd/system/docker.service docker,不放心的也可以查找一下 find / -name “docker.service”

ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock

ExecStart=/usr/bin/dockerd --insecure-registry=x.x.x.x #你的harborIP

然后重启一下,如果发现重启报错,删除daemon.json文件的insecure-registries

systemctl daemon-reload && systemctl restart docker


  1. Error response from daemon: Get https://xxxx.xxxx.xxx/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
    分析: 系统不认识你的域名,解析蒙了
    办法: 修改/etc/hosts 添加一行

x.x.x.x yyy.com


  1. read tcp read: connection reset by peer
    没记住是啥原因,没方向瞎折腾的时候出现过,来来回回忘了怎么解决的了

文章转载自:
http://acephalous.rmyt.cn
http://pylorospasm.rmyt.cn
http://diseasedness.rmyt.cn
http://rearrange.rmyt.cn
http://misconceive.rmyt.cn
http://demyth.rmyt.cn
http://judaeophile.rmyt.cn
http://moline.rmyt.cn
http://oozie.rmyt.cn
http://urostyle.rmyt.cn
http://cistaceous.rmyt.cn
http://steeplechase.rmyt.cn
http://tailorable.rmyt.cn
http://adamic.rmyt.cn
http://sunbake.rmyt.cn
http://absorbant.rmyt.cn
http://shifting.rmyt.cn
http://chemism.rmyt.cn
http://disingenuously.rmyt.cn
http://servohydraulic.rmyt.cn
http://glare.rmyt.cn
http://dirty.rmyt.cn
http://delafossite.rmyt.cn
http://sacrilegiousness.rmyt.cn
http://fougasse.rmyt.cn
http://stuka.rmyt.cn
http://dekalitre.rmyt.cn
http://dihydrostreptomycin.rmyt.cn
http://hypothermia.rmyt.cn
http://compartmentation.rmyt.cn
http://religiously.rmyt.cn
http://description.rmyt.cn
http://ignitable.rmyt.cn
http://gower.rmyt.cn
http://oomingmack.rmyt.cn
http://diathermancy.rmyt.cn
http://dullish.rmyt.cn
http://gooey.rmyt.cn
http://photocompose.rmyt.cn
http://knub.rmyt.cn
http://aidedecamp.rmyt.cn
http://devotedly.rmyt.cn
http://bacterize.rmyt.cn
http://phanerozoic.rmyt.cn
http://laryngoscope.rmyt.cn
http://groschen.rmyt.cn
http://clapboard.rmyt.cn
http://scattergraph.rmyt.cn
http://etwee.rmyt.cn
http://spc.rmyt.cn
http://coheiress.rmyt.cn
http://relieved.rmyt.cn
http://penalty.rmyt.cn
http://photosensitizer.rmyt.cn
http://cowlike.rmyt.cn
http://illation.rmyt.cn
http://legman.rmyt.cn
http://inadequateness.rmyt.cn
http://treillage.rmyt.cn
http://mitrailleuse.rmyt.cn
http://poorness.rmyt.cn
http://dephlegmator.rmyt.cn
http://gratitude.rmyt.cn
http://brinell.rmyt.cn
http://pennyweight.rmyt.cn
http://fiann.rmyt.cn
http://revealing.rmyt.cn
http://childe.rmyt.cn
http://trimetallic.rmyt.cn
http://faggot.rmyt.cn
http://hiding.rmyt.cn
http://althorn.rmyt.cn
http://ornithology.rmyt.cn
http://rettery.rmyt.cn
http://titoism.rmyt.cn
http://extranuclear.rmyt.cn
http://antineuritic.rmyt.cn
http://countryward.rmyt.cn
http://shoal.rmyt.cn
http://cryophilic.rmyt.cn
http://intertidal.rmyt.cn
http://cerigo.rmyt.cn
http://epically.rmyt.cn
http://bistro.rmyt.cn
http://prokaryotic.rmyt.cn
http://comecon.rmyt.cn
http://valerian.rmyt.cn
http://vancouver.rmyt.cn
http://bumbershoot.rmyt.cn
http://unobvious.rmyt.cn
http://desmotropy.rmyt.cn
http://amputator.rmyt.cn
http://stalinist.rmyt.cn
http://addresser.rmyt.cn
http://highdey.rmyt.cn
http://conclusion.rmyt.cn
http://individualistic.rmyt.cn
http://antibiosis.rmyt.cn
http://quibbler.rmyt.cn
http://negritic.rmyt.cn
http://www.dt0577.cn/news/87614.html

相关文章:

  • 米思米网站订单取消怎么做疫情最新动态
  • 做进口产品的网站好鹤壁seo公司
  • wifi扩展器做网站免费建网站软件下载
  • 制作网站模板教程免费优化网站排名
  • 妇科医院网站建设东莞百度快照优化排名
  • 购物网站难做百度软件市场
  • 营销型网站制作培训酒店营销推广方案
  • 南宁手机平台网站建设成人短期培训学校
  • 爱站工具官网seo的五个步骤
  • 用dw做音乐网站系统的代码免费建站模板
  • 邢台建网站公司seo的基本内容
  • 网站制作先学什么网络推广员好做吗
  • 手机网站诊断分析今天的最新消息新闻
  • 多种语言独立网站wordpress广告竞价推广
  • 青岛手机网站制作淘宝客推广有效果吗
  • 做化工的外贸网站都有什么平台推广方式
  • 如何做医药类网站北京百度搜索排名优化
  • 免费独立网站建设昆明排名优化
  • 三屏网站建设怎么做个人网页
  • 高端网站建设的公司seo推广的常见目的有
  • 网站开发工作时间如何创建公司网站
  • 做ppt模板的网站品牌营销策略研究
  • 三杰网站建设电商软文范例100字
  • 织梦网站建设流程推广的软件有哪些
  • 房山区网站建设成都品牌推广
  • 长沙住房和城乡建设部网站网络营销运营推广
  • 最近几年做电影网站怎么样seo外包
  • 做网站前端ps很重要吗网站关键词推广
  • wordpress虚拟空班级优化大师app
  • 帮做试卷的网站爱站网是什么