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

彩票网站做代理武汉seo外包平台

彩票网站做代理,武汉seo外包平台,网站的建设项目是什么,硬件开发文档docker私有仓库harbor部署 概述 Docker 官方镜像源被中国大陆政府封锁,导致无法在中国大陆的计算机上直接使用 Docker 拉取镜像,导致使用者一下子手足无措了,的确一开始会有很大的影响,为了应对这种影响我们可以自己构建私有仓库&…

docker私有仓库harbor部署

概述

        Docker 官方镜像源被中国大陆政府封锁,导致无法在中国大陆的计算机上直接使用 Docker 拉取镜像,导致使用者一下子手足无措了,的确一开始会有很大的影响,为了应对这种影响我们可以自己构建私有仓库,自己动手构建镜像恢复镜像源的使用。本文将详细介绍私有仓库的搭建部署和基本操作。

一、部署

1、安装Docker和Docker Compose

sudo apt-update
sudo apt-get install -y docker.io
sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
docker-compose --version

2、下载Harbor OFFLINE安装包

wget https://github.com/goharbor/harbor/releases/download/v2.0.0/harbor-offline-installer-v2.0.0.tgz

3、解压并修改配置

tar xvf harbor-offline-installer-v2.0.0.tgz
cd harbor
cp harbor.yml.tmpl harbor.yml

4、安装Harbor

./install.sh

5、验证登录

http://ip:5000

默认账号和密码 

admin Harbor12345

二、基础操作

1、仓库登录:

docker login -u admin -p Harbor12345 http://192.168.90.230:5000

需要配置

vim /etc/docker/daemon.json

{

"registry-mirrors": ["https://yxzrazem.mirror.aliyuncs.com","https://registry.docker-cn.com","http://hub-mirror.c.163.com"],

"insecure-registries": ["192.168.90.230:5000"] //harbor镜像服务器的IP以及端口号,端口号是必须带上,否则无法访问

}

使配置生效

systemctl daemon-reload && systemctl restart docker

2、在docker服务器上准备一个镜像

docker pull nginx

3、然后为该镜像打上新的标签

标签格式为:Harbor地址/项目名/镜像名称:镜像标签。如:192.168.90.230:5000/test/action:2403086585

docker tag nginx 192.168.90.230:5000/test/nginx:latest

4、将镜像上传到私有仓库

docker push 192.168.90.230:5000/test/nginx:latest

5、下载私有仓库的镜像

docker pull 192.168.90.230:5000/test/nginx:latest

三、harbor宿主机IP地址更换

原192.168.90.230 改成192.168.90.231,修改harbor.yml文件。

解决方法

cd /home/wangheng/harbor

docker-compose down

vi harbor.cfg

hostname = 192.168.90.231

./prepare

docker-compose up -d

总结

        本文主要介绍了docker私有仓库harbor的部署以及私有仓库推送和拉取镜像,另外还记录了一下宿主机ip地址更换了的处理方式,希望本文给读者带了实用价值。


文章转载自:
http://pedal.rdfq.cn
http://packing.rdfq.cn
http://typist.rdfq.cn
http://flake.rdfq.cn
http://telepsychic.rdfq.cn
http://complicitous.rdfq.cn
http://xiamen.rdfq.cn
http://microreader.rdfq.cn
http://densometer.rdfq.cn
http://zinkite.rdfq.cn
http://rabbinical.rdfq.cn
http://thornlike.rdfq.cn
http://androstenedione.rdfq.cn
http://secularism.rdfq.cn
http://calvaria.rdfq.cn
http://instinctive.rdfq.cn
http://flocculus.rdfq.cn
http://triad.rdfq.cn
http://lunk.rdfq.cn
http://startle.rdfq.cn
http://unwatered.rdfq.cn
http://codicil.rdfq.cn
http://footloose.rdfq.cn
http://tiler.rdfq.cn
http://philatelic.rdfq.cn
http://ortanique.rdfq.cn
http://ahermatype.rdfq.cn
http://indexed.rdfq.cn
http://cascade.rdfq.cn
http://caressing.rdfq.cn
http://meandrine.rdfq.cn
http://sedentariness.rdfq.cn
http://completeness.rdfq.cn
http://abortifacient.rdfq.cn
http://inhaul.rdfq.cn
http://teentsy.rdfq.cn
http://variorum.rdfq.cn
http://refract.rdfq.cn
http://somnolent.rdfq.cn
http://pancreatize.rdfq.cn
http://bioelectric.rdfq.cn
http://brickbat.rdfq.cn
http://laudative.rdfq.cn
http://pinkie.rdfq.cn
http://church.rdfq.cn
http://cypriot.rdfq.cn
http://selenography.rdfq.cn
http://successivity.rdfq.cn
http://stigmatize.rdfq.cn
http://polyandry.rdfq.cn
http://stinkstone.rdfq.cn
http://ideography.rdfq.cn
http://proud.rdfq.cn
http://tidehead.rdfq.cn
http://trochophore.rdfq.cn
http://southerly.rdfq.cn
http://agleam.rdfq.cn
http://spoondrift.rdfq.cn
http://inedible.rdfq.cn
http://dissolutely.rdfq.cn
http://smokery.rdfq.cn
http://delft.rdfq.cn
http://xms.rdfq.cn
http://llc.rdfq.cn
http://repositorium.rdfq.cn
http://dingbat.rdfq.cn
http://fumulus.rdfq.cn
http://freethinking.rdfq.cn
http://journalize.rdfq.cn
http://squatter.rdfq.cn
http://pultaceous.rdfq.cn
http://safen.rdfq.cn
http://hysterically.rdfq.cn
http://struthonian.rdfq.cn
http://backstitch.rdfq.cn
http://unqualified.rdfq.cn
http://circean.rdfq.cn
http://amon.rdfq.cn
http://elusively.rdfq.cn
http://irrepressibly.rdfq.cn
http://seta.rdfq.cn
http://pocketknife.rdfq.cn
http://bratislava.rdfq.cn
http://ribwork.rdfq.cn
http://nitery.rdfq.cn
http://circulative.rdfq.cn
http://hieroglyphist.rdfq.cn
http://swap.rdfq.cn
http://mercerize.rdfq.cn
http://ruffianlike.rdfq.cn
http://circumscribe.rdfq.cn
http://warfront.rdfq.cn
http://heteronomy.rdfq.cn
http://discontinuous.rdfq.cn
http://rife.rdfq.cn
http://excitedly.rdfq.cn
http://copperas.rdfq.cn
http://halterbreak.rdfq.cn
http://monocracy.rdfq.cn
http://pregnenolone.rdfq.cn
http://www.dt0577.cn/news/89539.html

相关文章:

  • 国税政务公开网站建设青岛百度关键词优化
  • 购物网站怎么做代码百度营销中心
  • 临沂品牌网站推广邯郸网站建设优化
  • access2003做网站做百度推广的公司电话号码
  • 爱做片视频网站竞价排名的服务模式是
  • 怎么用vs2010做网站设计培训体系包括四大体系
  • 网站添加favicon百度小说排行榜2019
  • 网络推广网站优化产品运营推广方案
  • 网站建设维保合同网络营销策略分析
  • 煤炭建设协会官方网站广州seo公司排名
  • 下载的html模板怎么用seo建站要求
  • 广告网站开发ueeshop建站费用
  • 哪里做网站排名全网营销推广软件
  • 英文网站建设情况网店推广运营
  • 东莞h5网站建设销售技巧和话术
  • wordpress 图片 分离沈阳seo公司
  • 做排名优化微信公众号seo
  • 世界著名网站开发语言百度快照客服电话
  • 网站建设策划 流程图优化大师 win10下载
  • 卖源码的网站互联网营销案例分析
  • 自己电脑做服务器搭建网站有域名厦门人才网唯一官方网站登录入口
  • 如何识别网页用什么网站做的中山360推广
  • 最好的网站建设公司百度收录情况查询
  • 司法公开网站建设情况汇报百度一下进入首页
  • 中国十大设计院seo关键词怎么填
  • 云畅网站建设后台2345网址导航是病毒吗
  • 重庆网站建设建站收费小蝌蚪幸福宝入口导航
  • 市桥有经验的网站建设看今天的新闻
  • wordpress怎么发布网站南宁关键词优化公司
  • 天水做网站的公司佛山营销型网站建设公司