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

php企业网站源码找别人做网站注意问题

php企业网站源码,找别人做网站注意问题,学校做网站及费用,网页制作培训学费目录 一.distribution 1.扩展源下载docker-distribution并启动 2.打标签并认证安全仓库 3.推送到私人仓库 4.拉取镜像 二.registry 1.拉取registry的镜像 2.运行容器并打标签 3.认证安全仓库 4.推送到私人仓库 5.拉取镜像 一.distribution 1.扩展源下载docker-dist…目录 一.distribution 1.扩展源下载docker-distribution并启动 2.打标签并认证安全仓库 3.推送到私人仓库 4.拉取镜像 二.registry 1.拉取registry的镜像 2.运行容器并打标签 3.认证安全仓库 4.推送到私人仓库 5.拉取镜像 一.distribution 1.扩展源下载docker-distribution并启动 [rootlocalhost ~]# yum info docker-distribution[rootlocalhost ~]# yum install -y docker-distribution.x86_64[rootlocalhost ~]# systemctl start docker-distribution[rootlocalhost ~]# cd /etc/docker-distribution/registry/[rootlocalhost registry]# cat config.yml  version: 0.1 log:fields:service: registry storage:cache:layerinfo: inmemoryfilesystem:rootdirectory: /var/lib/registry #默认的镜像存放大致路径 http:addr: :5000 #端口 2.打标签并认证安全仓库 [rootlocalhost ~]# docker images REPOSITORY                                           TAG         IMAGE ID       CREATED         SIZE mysql                                                5.6         dd3b2a5dcb48   20 months ago   303MB registry.cn-hangzhou.aliyuncs.com/su03/mycontainer   mysql_5.6   dd3b2a5dcb48   20 months ago   303MB centos                                               latest      5d0da3dc9764   23 months ago   231MB registry                                             2.6.2       10b45af23ff3   3 years ago     28.5MB owncloud                                             latest      327bd201c5fb   4 years ago     618MB[rootlocalhost ~]# docker tag centos:latest 192.168.2.190:5000/centos:latest[rootlocalhost ~]# vim /etc/docker/daemon.json { registry-mirrors: [https://docker.mirrors.ustc.edu.cn], insecure-registries: [192.168.2.190:5000] }[rootlocalhost ~]# systemctl restart docker 3.推送到私人仓库 [rootlocalhost ~]# docker push 192.168.2.190:5000/centos:latest  The push refers to repository [192.168.2.190:5000/centos] 74ddd0ec08fa: Pushed  latest: digest: sha256:a1801b843b1bfaf77c501e7a6d3f709401a1e0c83863037fa3aab063a7fdb9dc size: 529[rootlocalhost ~]# ll /var/lib/registry/docker/registry/v2/repositories total 0 drwxr-xr-x 5 root root 55 Aug 25 17:30 centos 4.拉取镜像 [rootlocalhost ~]# docker pull 192.168.2.190:5000/centos:latest  latest: Pulling from centos Digest: sha256:a1801b843b1bfaf77c501e7a6d3f709401a1e0c83863037fa3aab063a7fdb9dc Status: Image is up to date for 192.168.2.190:5000/centos:latest 192.168.2.190:5000/centos:latest[rootlocalhost ~]# docker images REPOSITORY                                           TAG         IMAGE ID       CREATED         SIZE mysql                                                5.6         dd3b2a5dcb48   20 months ago   303MB registry.cn-hangzhou.aliyuncs.com/su03/mycontainer   mysql_5.6   dd3b2a5dcb48   20 months ago   303MB 192.168.2.190:5000/centos                            latest      5d0da3dc9764   23 months ago   231MB centos                                               latest      5d0da3dc9764   23 months ago   231MB registry                                             2.6.2       10b45af23ff3   3 years ago     28.5MB owncloud                                             latest      327bd201c5fb   4 years ago     618MB 二.registry 1.拉取registry的镜像 [rootlocalhost ~]# systemctl stop docker-distribution.service [rootlocalhost ~]# docker pull registry:2.6.2 2.运行容器并打标签 -v指定把镜像存储到宿主机的/registry目录下 [rootlocalhost ~]# docker run -itd --name myregistry -p 5000:5000 -v /registry:/var/lib/registry registry:2.6.2  a2ddb1f22601398d13dcfcc2f6e495883d5b9cf52fce690eefbe8d0cfc787fd0[rootlocalhost ~]# docker tag nginx:latest 192.168.2.190:5000/nginx:latest 3.认证安全仓库 [rootlocalhost ~]# vim /etc/docker/daemon.json  { registry-mirrors: [https://docker.mirrors.ustc.edu.cn], insecure-registries: [192.168.2.190:5000] }[rootlocalhost ~]# systemctl restart docker 4.推送到私人仓库 [rootlocalhost ~]# docker push 192.168.2.190:5000/nginx:latest  The push refers to repository [192.168.2.190:5000/nginx] 563c64030925: Pushed  6fb960878295: Pushed  e161c3f476b5: Pushed  8a7e12012e6f: Pushed  d0a62f56ef41: Pushed  4713cb24eeff: Pushed  511780f88f80: Pushed  latest: digest: sha256:48a84a0728cab8ac558f48796f901f6d31d287101bc8b317683678125e0d2d35 size: 1778[rootlocalhost ~]# ll /registry/docker/registry/v2/repositories/ total 0 drwxr-xr-x 5 root root 55 Aug 25 18:09 nginx 5.拉取镜像 [rootlocalhost ~]# docker pull 192.168.2.190:5000/nginx:latest  latest: Pulling from nginx Digest: sha256:48a84a0728cab8ac558f48796f901f6d31d287101bc8b317683678125e0d2d35 Status: Image is up to date for 192.168.2.190:5000/nginx:latest 192.168.2.190:5000/nginx:latest[rootlocalhost ~]# docker images REPOSITORY                                           TAG         IMAGE ID       CREATED         SIZE 192.168.2.190:5000/nginx                             latest      eea7b3dcba7e   9 days ago      187MB nginx                                                latest      eea7b3dcba7e   9 days ago      187MB mysql                                                5.6         dd3b2a5dcb48   20 months ago   303MB registry.cn-hangzhou.aliyuncs.com/su03/mycontainer   mysql_5.6   dd3b2a5dcb48   20 months ago   303MB 192.168.2.190:5000/centos                            latest      5d0da3dc9764   23 months ago   231MB centos                                               latest      5d0da3dc9764   23 months ago   231MB registry                                             2.6.2       10b45af23ff3   3 years ago     28.5MB owncloud                                             latest      327bd201c5fb   4 years ago     618MB
http://www.w-s-a.com/news/504182/

相关文章:

  • 新网站收录多少关键词免费一键网站
  • 网页制作与网站建设 在线作业手表网站制作照片
  • 电商网站开发技术与维护重庆建筑工程交易信息网
  • 人和马做的网站线上营销推广方式
  • 青海教育厅门户网站有赞商城
  • 网站建设多语种自动翻译插件wordpress谷歌翻译插件
  • 泰安高级网站建设推广wordpress教程 好看
  • 我自己的网站怎么做关键词优化泰安网站建设dxkjw
  • 平面设计做画册用网站泰州seo平台
  • 申请一个域名后怎么做网站evernote wordpress
  • 网站左侧导航栏设计网站开发后台数据怎么来
  • 临西做网站报价网站建设需要写语句吗
  • 建设网站网站首页购物网站开发代码
  • 淘宝客怎么建立网站网站360优化
  • 安徽建海建设工程有限公司网站网站空间和域名价格
  • 农产品网站建设策划哪里有做枪网站的
  • 更改各网站企业信息怎么做张家港企业网站制作
  • 郑州网站建设咨询银川做网站哪家好
  • 微信网站 微信支付合肥seo排名收费
  • 织梦做的网站如何上线广东省广州市番禺区南村镇
  • 网站设计的导航栏怎么做太原有网站工程公司吗
  • 苏州虎丘区建设局网站如何在一个数据库做两个网站
  • 淘宝天猫优惠券网站建设费用腾讯邮箱企业邮箱登录
  • 深圳福田做网站公司海航科技网站建设
  • 网站降权查询wordpress更换文章背景色
  • 大型电商网站开发金融企业网站建设公司
  • 成都营销型网站建设价格化妆品品牌推广方案
  • 深圳公司手机网站制作苏州网站推广哪家好
  • 网站建设开发方式包括购买学校网站建设费计入什么科目
  • 做简单网站的框架图中小微企业查询平台