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

可以自己做效果图的网站商标图案自动生成

可以自己做效果图的网站,商标图案自动生成,哪些网站图片做海报好,ui设计可以在ipad上面做嘛?Docker安装部署Nexus3作为内网镜像代理 一、背景描述 基础镜像比较小#xff0c;仓库使用阿里云或者腾讯云拉取速度挺快#xff0c;但是时光飞逝几年时间过去#xff0c;再加上AI加持的情况下#xff0c;有些镜像的大小已经接近20G#xff01; 这种情况下不管是测试环境…Docker安装部署Nexus3作为内网镜像代理 一、背景描述 基础镜像比较小仓库使用阿里云或者腾讯云拉取速度挺快但是时光飞逝几年时间过去再加上AI加持的情况下有些镜像的大小已经接近20G 这种情况下不管是测试环境还是开发环境拉取镜像都会占用公司宽带流量因此需要在测试环境搭建一台容器代理用于缓存镜像 二、搭建Nexus3作为镜像代理缓存阿里云、腾讯仓库私有镜像 2.1、Docker部署Nexus3 #数据持久化目录 mkdir -p /data/nexus3 #授权 chmod 777 -R /data/nexus3 #创建nexus3容器。 docker run -tid \--privilegedtrue\--networkhost \--restartalways \-v /data/nexus3:/nexus-data \--name nexus3 \sonatype/nexus3#查看默认密码 cat /data/nexus3/admin.password 2.2、登录nexus3并修改默认密码 修改默认密码设置来宾用户访问 否则拉取镜像时会有如下报错 [rootlocalhost certs.d]# crictl pull nginx FATA[0002] pulling image failed: rpc error: code NotFound desc failed to pull and unpack image docker.io/library/nginx:latest: failed to unpack image on snapshotter overlayfs: unexpected media type text/html for sha256:b6a78ff088000afc609fcbc701d18704ddb944e867af0dadd520d4bf0e5af328: not found 三、配置Nexus3代理阿里云、腾讯云私有镜像仓库 3.0 备注 这里会创建三个代理 1、阿里云镜像加速 2、阿里云私有镜像仓库内含公开镜像 3、腾讯云私有镜像仓库 私有镜像仓库需要配置认证账号密码 3.1、创建Blob Store 3.2、创建阿里云私有镜像仓库代理 设置代理信息 勾选缓存镜像layer选择创建的Blob store 因为使用的阿里云北京区的镜像仓库所以这里填入北京区地址如果是腾讯云仓库替换即可。 填入阿里云私有仓库认证账号密码 信息填完后点击Create repositories 完成创建。 3.3、重复3.2步骤创建好腾讯私有镜像仓库代理 3.4、创建Docker-Group 选择docker(group类型) 红框需要设置或勾选信息 通过8888端口对外提供代理服务 把刚创建的docker代理加入到群组中 四、配置Containerd通过Nexus3镜像仓库下载镜像 4.0、Containerd 版本 [rootlocalhost src]# ctr version Client:Version: v1.6.21Revision: 3dce8eb055cbb6872793272b4f20ed16117344f8Go version: go1.19.9Server:Version: v1.6.21Revision: 3dce8eb055cbb6872793272b4f20ed16117344f8UUID: 01b66c6f-637c-4a15-a5db-fb0f75f1fe60 4.1、containerd默认配置 [rootlocalhost src]# cat /etc/containerd/config.toml version 2 root /var/lib/containerd state /run/containerd oom_score 0[grpc]address /run/containerd/containerd.sockuid 0gid 0max_recv_message_size 16777216max_send_message_size 16777216[debug]address /run/containerd/containerd-debug.sockuid 0gid 0level warn[timeouts]io.containerd.timeout.shim.cleanup 5sio.containerd.timeout.shim.load 5sio.containerd.timeout.shim.shutdown 3sio.containerd.timeout.task.state 2s[plugins][plugins.io.containerd.grpc.v1.cri]sandbox_image sealos.hub:5000/pause:3.2max_container_log_line_size -1max_concurrent_downloads 20disable_apparmor true[plugins.io.containerd.grpc.v1.cri.containerd]snapshotter overlayfsdefault_runtime_name runc[plugins.io.containerd.grpc.v1.cri.containerd.runtimes][plugins.io.containerd.grpc.v1.cri.containerd.runtimes.runc]runtime_type io.containerd.runc.v2runtime_engine runtime_root [plugins.io.containerd.grpc.v1.cri.containerd.runtimes.runc.options]SystemdCgroup true[plugins.io.containerd.grpc.v1.cri.registry]config_path /etc/containerd/certs.d[plugins.io.containerd.grpc.v1.cri.registry.configs][plugins.io.containerd.grpc.v1.cri.registry.configs.sealos.hub:5000.auth]username adminpassword passw0rd 4.3、添加nexus3代理镜像 在config_path “/etc/containerd/certs.d” 路径下创建需要经过nexus3的仓库文件夹 /etc/containerd/certs.d [rootlocalhost certs.d]# ls -l 总用量 0 drwxr-xr-x 2 root root 24 9月 9 00:30 ccr.ccs.tencentyun.com drwxr-xr-x 2 root root 24 9月 8 23:50 docker.io drwxr-xr-x 2 root root 24 9月 8 23:50 registry.cn-beijing.aliyuncs.com drwxr-xr-x 2 root root 24 9月 8 23:14 sealos.hub:5000 drwxr-xr-x 2 root root 24 9月 8 23:50 tf72mndn.mirror.aliyuncs.com [rootlocalhost certs.d]# 配置信息 [rootlocalhost certs.d]# cat registry.cn-beijing.aliyuncs.com/hosts.toml server https://registry.cn-beijing.aliyuncs.com[host.http://172.27.100.251:8888]capabilities [pull, resolve, push]skip_verify true 4.4、重启Containerd并拉取镜像验证 [rootlocalhost certs.d]# systemctl restart containerd [rootlocalhost certs.d]# crictl pull nginx如上图所示镜像已缓存 五、Docker通过Nexus代理下载镜像 5.1、配置Nexus–Security–Realms 5.2、修改docker daemon.json配置 [rootlocalhost ~]# cat /etc/docker/daemon.json {insecure-registries: [172.27.100.251:8888],registry-mirrors: [http://172.27.100.251:8888],exec-opts: [native.cgroupdriversystemd],log-opts: {max-file: 3,max-size: 500m} } docker info Insecure Registries:172.27.100.251:8888127.0.0.0/8Registry Mirrors:http://172.27.100.251:8888/Live Restore Enabled: false拉取镜像测试 参考https://blog.csdn.net/qq_30051761/article/details/131139204
http://www.hkea.cn/news/14576602/

相关文章:

  • 复旦大学精品课程网站wordpress+贴吧主题
  • 网站系统网站开发网络设计报告的研究意义
  • 专业做企业网站邯山专业做网站
  • 导航网站分析西安产品设计公司有哪些
  • 网站字体使用苏州移动网站建设
  • 盱眙县建设局网站友链通
  • 网站设计建设专业服务wordpress 搜索产品
  • 企业网站首页设计欣赏网页设计简单的网站
  • 潍坊网站制作建设最专业的礼品网站案例参考
  • 企业网站做优化商城版网站制作
  • 创新的专业网站建设西樵做网站
  • 重庆网站建设 制作 设计 优惠价可以制作动画的软件
  • 酒类产品网站设计那个网站招丑的人做网红
  • 郑州网站建设公司哪家专业营销自动化
  • 晋城做网站的公司金坛住房和城乡建设局网站
  • 南山高端网站建设有哪些网站是织梦做的
  • 江西省网站建设建网站多少
  • 商业网站设计与制作论文关于建设网站的需求
  • 网站建设经典教材thinkphp网站开发技术
  • 寮步做网站公司与恶魔做交易的网站
  • 做网站费用怎么核算网站的经典推广方法
  • 做的网站没给我备案福永网站制作
  • 网站源码怎么做网站做后台系统的网站
  • 东莞seo网站排名建筑规范app
  • 淘客网站怎么备案宠物用品销售网站建设和技术现状
  • 免费发布的网站宁夏建设工程招标投标信息管理中心网站
  • 网站建设方案申请wordpress 单页面翻页
  • 给网站做网页设计培训高清图集
  • 网站对企业的好处视频图站主题 wordpress
  • 舆情网站郑州今晚发布会