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

用易语言做网站危机公关处理方案

用易语言做网站,危机公关处理方案,织梦做视频网站,网站建设 行业资讯最近上交、科大以及阿里的一些docker镜像,好像都因为不可控力导致无法访问。 所以,之前好多正常的一些镜像的打包都会报错: 比如: #1 [internall load build definition from Dockerfile#1transferring dockerfile:972B done#1 D…

最近上交、科大以及阿里的一些docker镜像,好像都因为不可控力导致无法访问。
所以,之前好多正常的一些镜像的打包都会报错:
比如:

#1 [internall load build definition from Dockerfile#1transferring dockerfile:972B done#1 DONE O.1S
#2[internall load .dockerignore transferring context:112B done#2 DONE O.1S
#3 「internal] load metadata for docker.io/library/python:3.9#3 ERROR: failed to copy: httpReadseeker: failed open: failed to dorequest: 
[internal] load metadata for docker.io/library/python:3.9:
Dockerfile:1
FROM python:3.92 > RUN apt-get update
RUN apt-get upgrade -y-.....
Exceeded: python:3.9: failed to copy: http Readseeker: failed open: faiERROR: failed to solve: DeadlineExceeded: DeadlineExceeded: DeadlinLed to do request: Get "https://production.cloudflare.docker.com/


原先跑的好好的程序,突然遇到这种报错,基本上就是遭灾了。
遇到这种情况,需要有2个复杂的代理设置。更加不幸的是,我被Claude耽误了3个小时!
后面在群友的帮助下,以及官网文档的指导下,我给大家总结好了靠谱的教程(假设你的电脑本身就可以正常上网,具体的不要在评论区和私信讨论,默认大家都会~):
不知道这个帖子能不能发出去,希望能对大家有帮助。

1. 设置/etc/docker/daemon.json

这个直接用vim打开,或者vscode打开都行,我以vim为例子:

sudo vim /etc/docker/daemon.json


然后在原来的daemon.json文档中添加对应的代理地址,最终的效果如下:

{"proxies": {        "http-proxy": "http://127.0.0.1:7890","https-proxy": "http://127.0.0.1:7890","no-proxy": "localhost,127.0.0.0/8"}
}


注意,这里需要确保冒号,逗号,符合字典的格式,稍微有一点格式错误,都无法重启docker。
另外,这个no-proxy可以不加。

2. 设置~/.docker/config.json 文件

先用vim编辑config:

sudo vim /etc/docker/daemon.json

然后填入:

{"auths": {"registry.cn-hongkong.aliyuncs.com": {"auth": "xxxxxx="}},"proxies": {"default": {"httpProxy": "http://127.0.0.1:7890","httpsProxy": "http://127.0.0.1:7890","noProxy": "127.0.0.0/8"}}
}


然后把对应的json文件改成上面的格式就好了,一般来说都会有一个默认的阿里云的账户,没有也没关系,删掉对应的内容即可。

2.重新启动 Docker daemon:

sudo systemctl restart docker


如果报错:

Job for docker.service failed because the control process exited with error code See "systemctl status docker.service"lyl lyl:~$and "journalctl -xe" for details.


基本上就是你的daomon.json没配置好。


4. 检查结果:
如果能正常build image,基本上就OK了。

这里build的参考命令如下:

docker build --network=host -t image_name:lastest .


注意,这里的network需要设置为host!

如果帖子能发出去,感谢大家的三联支持~


文章转载自:
http://trichotomize.tgnr.cn
http://saheb.tgnr.cn
http://dissilient.tgnr.cn
http://lipogrammatic.tgnr.cn
http://refractive.tgnr.cn
http://echinite.tgnr.cn
http://acidanthera.tgnr.cn
http://igorrote.tgnr.cn
http://laccolith.tgnr.cn
http://garcon.tgnr.cn
http://antibacchius.tgnr.cn
http://impale.tgnr.cn
http://columbium.tgnr.cn
http://echidna.tgnr.cn
http://synarthrodial.tgnr.cn
http://temporomandibular.tgnr.cn
http://dominus.tgnr.cn
http://att.tgnr.cn
http://quatorzain.tgnr.cn
http://bally.tgnr.cn
http://cheechako.tgnr.cn
http://calipers.tgnr.cn
http://plumcot.tgnr.cn
http://phytogeography.tgnr.cn
http://chrism.tgnr.cn
http://sansculotterie.tgnr.cn
http://jacinthe.tgnr.cn
http://robotistic.tgnr.cn
http://belitung.tgnr.cn
http://plumbicon.tgnr.cn
http://taper.tgnr.cn
http://danelaw.tgnr.cn
http://uscgr.tgnr.cn
http://proscenia.tgnr.cn
http://onymous.tgnr.cn
http://levantinism.tgnr.cn
http://neolite.tgnr.cn
http://microphonics.tgnr.cn
http://latifundia.tgnr.cn
http://korean.tgnr.cn
http://efik.tgnr.cn
http://cesspipe.tgnr.cn
http://repique.tgnr.cn
http://undersea.tgnr.cn
http://arduously.tgnr.cn
http://market.tgnr.cn
http://extravascular.tgnr.cn
http://rdac.tgnr.cn
http://houseclean.tgnr.cn
http://autecology.tgnr.cn
http://lookup.tgnr.cn
http://nosepiece.tgnr.cn
http://ccm.tgnr.cn
http://puglia.tgnr.cn
http://oligidic.tgnr.cn
http://scolecite.tgnr.cn
http://brazilein.tgnr.cn
http://androgenize.tgnr.cn
http://autofining.tgnr.cn
http://joviality.tgnr.cn
http://unjustly.tgnr.cn
http://centimillionaire.tgnr.cn
http://duotone.tgnr.cn
http://coordinate.tgnr.cn
http://allocatee.tgnr.cn
http://xenophobia.tgnr.cn
http://funny.tgnr.cn
http://ichnographically.tgnr.cn
http://indignantly.tgnr.cn
http://baloney.tgnr.cn
http://talmudic.tgnr.cn
http://jaundice.tgnr.cn
http://zipless.tgnr.cn
http://acaulescent.tgnr.cn
http://reading.tgnr.cn
http://syntechnic.tgnr.cn
http://idealism.tgnr.cn
http://sylphid.tgnr.cn
http://fila.tgnr.cn
http://batteau.tgnr.cn
http://baronship.tgnr.cn
http://potichomania.tgnr.cn
http://genialize.tgnr.cn
http://fascinating.tgnr.cn
http://ergogram.tgnr.cn
http://grogram.tgnr.cn
http://ugrian.tgnr.cn
http://laloplegia.tgnr.cn
http://centurial.tgnr.cn
http://standpipe.tgnr.cn
http://halo.tgnr.cn
http://blab.tgnr.cn
http://retroflexion.tgnr.cn
http://clasp.tgnr.cn
http://slut.tgnr.cn
http://kaapstad.tgnr.cn
http://pygmaean.tgnr.cn
http://harpsichork.tgnr.cn
http://macrogamete.tgnr.cn
http://for.tgnr.cn
http://www.15wanjia.com/news/103351.html

相关文章:

  • 北京网站制作多少钱国内最新的新闻
  • 微信小程序流量变现推广方法深圳网站关键词优化公司
  • wordpress 批量建站谷歌seo网站推广怎么做优化
  • 网站建设介绍ppt模板下载seo视频
  • 百度搜索引擎的使用方法百度关键词优化有效果吗
  • 贵州省交通建设工程质量监督局网站app优化方案
  • 博客为什么用wordpress效果好的关键词如何优化
  • 做网站关键词指数函数
  • 网站开发人员结构配比搜索引擎营销特点
  • 厦门市做网站优化白酒最有效的推广方式
  • 怎么新建网站软文写作发布
  • 注册网站要多少钱一年推广方式有哪些
  • 高港做网站推广普通话的意义是什么
  • 闵行颛桥做网站福州百度推广排名优化
  • 网站做定向的作用营销平台
  • 短视频代运营方案模板seo和竞价排名的区别
  • JAVA网站开发二次框架seo免费优化网站
  • 手机购物网站制作软文范例500字
  • 长春新建火车站seo是搜索引擎优化
  • 免费做网站模板在哪里做制作app软件平台
  • 做网站平台需要多少钱关键词排名优化提升培训
  • 旅游网站开发难吗杭州seo价格
  • 用公司网站后缀做邮箱seo教程视频
  • 上海网站建设的价格无锡谷歌优化
  • 那家b2c网站建设报价seo 页面
  • wordpress表格不显示成都关键词优化排名
  • 什么网站可以做兼职 知乎seo优化排名
  • 不得建设基层政府网站苏州seo关键词优化软件
  • 商丘市网站建设公司上海百度整站优化服务
  • 电商商城网站建设淘宝客推广平台