安于心

文章 分类 评论
7 1 38431

站点介绍

这里是站点介绍...

安于心学习吧

Your description here.

Docker 容器连接

Docker 容器连接前面我们实现了通过网络端口来访问运行在 docker 容器内的服务。容器中可以运行一些网络应用,要让外部也可以访问这些...

Docker 镜像使用

Docker 镜像使用当运行容器时,使用的镜像如果在本地中不存在,docker 就会自动从 docker 镜像仓库中下载,默认是从 Dock...

wuqu

Docker 镜像加速

2023-07-19 14:52

Docker 镜像加速
国内从 DockerHub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。Docker 官方和国内很多云服务商都提供了国内加速器服务,例如:

科大镜像:https://docker.mirrors.ustc.edu.cn/
网易:https://hub-mirror.c.163.com/
阿里云:https://<你的ID>.mirror.aliyuncs.com
七牛云加速器:https://reg-mirror.qiniu.com
当配置某一个加速器地址之后,若发现拉取不到镜像,请切换到另一个加速器地址。国内各大云服务商均提供了 Docker 镜像加速服务,建议根据运行 Docker 的云平台选择对应的镜像加速服务。

阿里云镜像获取地址:https://cr.console.aliyun.com/cn-hangzhou/instances/mirrors,登陆后,左侧菜单选中镜像加速器就可以看到你的专属地址了:

图片[1]-Docker 镜像加速-6.2

之前还有 Docker 官方加速器 https://registry.docker-cn.com ,现在好像已经不能使用了,我们可以多添加几个国内的镜像,如果有不能使用的,会切换到可以使用个的镜像来拉取。

Ubuntu14.04、Debian7Wheezy
对于使用 upstart 的系统而言,编辑 /etc/default/docker 文件,在其中的 DOCKER_OPTS 中配置加速器地址:

DOCKER_OPTS="--registry-mirror=https://registry.docker-cn.com"
重新启动服务:

$ sudo service docker restart
Ubuntu16.04+、Debian8+、CentOS7
对于使用 systemd 的系统,请在 /etc/docker/daemon.json 中写入如下内容(如果文件不存在请新建该文件):

{"registry-mirrors":["https://reg-mirror.qiniu.com/"]}
之后重新启动服务:

$ sudo systemctl daemon-reload
$ sudo systemctl restart docker
Windows 10
对于使用 Windows 10 的系统,在系统右下角托盘 Docker 图标内右键菜单选择 Settings,打开配置窗口后左侧导航菜单选择 Daemon。在 Registrymirrors 一栏中填写加速器地址 https://docker.mirrors.ustc.edu.cn/ ,之后点击 Apply 保存后 Docker 就会重启并应用配置的镜像地址了。

图片[2]-Docker 镜像加速-6.2

Mac OS X
对于使用 Mac OS X 的用户,在任务栏点击 Docker for mac 应用图标-> Perferences…-> Daemon-> Registrymirrors。在列表中填写加速器地址 https://reg-mirror.qiniu.com 。修改完成之后,点击 Apply&Restart 按钮,Docker 就会重启并应用配置的镜像地址了。

图片[3]-Docker 镜像加速-6.2

检查加速器是否生效
检查加速器是否生效配置加速器之后,如果拉取镜像仍然十分缓慢,请手动检查加速器配置是否生效,在命令行执行 docker info,如果从结果中看到了如下内容,说明配置成功。

$ docker info
Registry Mirrors:
https://reg-mirror.qiniu.com

  • EnLigneFr 2024-05-23 22:47:52
    pharmacie en ligne livraison europe: pharmacie en ligne avec ordonnance pharmacie en ligne avec ordonnance Pharmacie Internationale en ligne https://phenligne.com/ vente de médicament en ligne
  • KamagraEn 2024-05-23 22:47:31
    Pharmacie Internationale en ligne: achat kamagra pharmacies en ligne certifiées pharmacie en ligne https://kamagraenligne.com/ pharmacie en ligne france
  • KamagraEn 2024-05-23 22:32:04
    vente de médicament en ligne: kamagra 100mg prix Pharmacie en ligne livraison Europe pharmacie en ligne france livraison belgique https://kamagraenligne.com/ trouver un médicament en pharmacie
  • Levitra 2024-05-23 22:04:10
    pharmacie en ligne - Levitra pharmacie en ligne Pharmacie sans ordonnance pharmacie en ligne france https://levitraenligne.com/ pharmacie en ligne sans ordonnance

JVS常见问题–部署无法成功

部署基础数据存储模块docker-compose -f docker-compose-db.yml up -d执行docker ps 检查...

漏洞及渗透练习平台

漏洞及渗透练习平台:WebGoat漏洞练习环境https://github.com/WebGoat/WebGoathttps://githu...

热门文章

最新评论

  • EnLigneFr

    pharmacie en ligne livraison europe: pharmacie en ligne avec ordonnance pharmacie en ligne avec ordonnance Pharmacie Internationale en ligne https://phenligne.com/ vente de médicament en ligne

  • KamagraEn

    Pharmacie Internationale en ligne: achat kamagra pharmacies en ligne certifiées pharmacie en ligne https://kamagraenligne.com/ pharmacie en ligne france

  • ejopeks

    If bladder's well-lit mediators [URL=https://airportcarservicesandiego.com/albezole/]albendazole[/URL] [URL=https://yourdirectpt.com/pill/doxycycline/]doxycycline in usa[/URL] [URL=https://heavenlyhappyhour.com/www-levitra-com/]levitra in bangkok[/URL] [URL=https://darlenesgiftshop.com/item/acupain/]acupain 10mg[/URL] [URL=https://allwallsmn.com/airmax/]no prescription airmax[/URL] [URL=https://petermillerfineart.com/alopron/]alopron tablets[/URL] [URL=https://successsummaries.net/drugs/amlodin/]generic amlodin canada online[/URL] [URL=https://reso-nation.org/reglan/]generic reglan no prescription[/URL] [URL=https://davincipictures.com/product/strattera/]buy 18 strattera online[/URL] [URL=https://greaterparsippanyrewards.com/aciloc/]aciloc n0 prprsscription[/URL] [URL=https://tonysflowerstucson.com/accuneb/]accuneb brand[/URL] [URL=https://karachigo.com/product/amicrobin/]where to buy amicrobin[/URL] [URL=https://center4family.com/item/prednisone-20-mg/]prednisone[/URL] [URL=https://miaseilern.com/product/altus/]altus lowest price[/URL] altus [URL=https://1488familymedicinegroup.com/adolor/]where can i get adolor[/URL] [URL=https://tonysflowerstucson.com/amirel/]amirel[/URL] [URL=https://castleffrench.com/amizide/]amizide tijuana[/URL] [URL=https://helpo.org/alzim/]alzim ohio[/URL] [URL=https://profitplusfinancial.com/item/afiancen/]overnight afiancen[/URL] [URL=https://darlenesgiftshop.com/item/aldisa-sr/]aldisa sr[/URL] [URL=https://darlenesgiftshop.com/item/alfadiman/]cheapest alfadiman dosage price[/URL] [URL=https://allwallsmn.com/amblosin/]ampicillin[/URL] [URL=https://miaseilern.com/product/adana/]cheapest adana online in the uk[/URL] [URL=https://castleffrench.com/amilavil/]amilavil 50mg[/URL] [URL=https://profitplusfinancial.com/item/abiolex/]abiolex[/URL] [URL=https://ad-visorads.com/pill/amertil/]amertil 5mg[/URL] [URL=https://fairbusinessgoodwillappraisal.com/albendazol/]no prescription albendazol canada online[/URL] [URL=https://oliveogrill.com/prednisone-20-mg/]buy prednisone online without prescription[/URL] [URL=https://allwallsmn.com/item/adzole-dm/]adzole-dm tenerife[/URL] adzole dm [URL=https://ad-visorads.com/actulose/]actulose precios[/URL] mandible, unconscious, order albezole online doxycycline doxycycline lowest prices for levitra www.levitra.com free mail acupain proventil alopron tablets buying amlodin in the dominican republic cheap generic reglan strattera aciloc accuneb buy cheap accuneb amicrobin without a prescription prednisone 20 mg prednisone altus us adolor uk sale amirel buy amizide generic india alzim 5mg alzim cheapest afiancen dosage price comprare aldisa-sr italia alfadiman 300mg amblosin where to buy adana on line? amilavil basso costo abiolex amertil online no script albendazol online safe prednisone without prescription.net adzole dm non generic actulose originale europa exist alliteration, peritonitis, https://airportcarservicesandiego.com/albezole/ https://yourdirectpt.com/pill/doxycycline/ https://heavenlyhappyhour.com/www-levitra-com/ least expensive pharmacy for levitra https://darlenesgiftshop.com/item/acupain/ https://allwallsmn.com/airmax/ https://petermillerfineart.com/alopron/ https://successsummaries.net/drugs/amlodin/ how do i get amlodin https://reso-nation.org/reglan/ https://davincipictures.com/product/strattera/ https://greaterparsippanyrewards.com/aciloc/ lowest price aciloc https://tonysflowerstucson.com/accuneb/ https://karachigo.com/product/amicrobin/ https://center4family.com/item/prednisone-20-mg/ https://miaseilern.com/product/altus/ https://1488familymedicinegroup.com/adolor/ adolor sans prescription quebec https://tonysflowerstucson.com/amirel/ https://castleffrench.com/amizide/ https://helpo.org/alzim/ https://profitplusfinancial.com/item/afiancen/ https://darlenesgiftshop.com/item/aldisa-sr/ https://darlenesgiftshop.com/item/alfadiman/ https://allwallsmn.com/amblosin/ https://miaseilern.com/product/adana/ https://castleffrench.com/amilavil/ https://profitplusfinancial.com/item/abiolex/ https://ad-visorads.com/pill/amertil/ https://fairbusinessgoodwillappraisal.com/albendazol/ https://oliveogrill.com/prednisone-20-mg/ https://allwallsmn.com/item/adzole-dm/ https://ad-visorads.com/actulose/ fibular stressless mass?

  • KamagraEn

    vente de médicament en ligne: kamagra 100mg prix Pharmacie en ligne livraison Europe pharmacie en ligne france livraison belgique https://kamagraenligne.com/ trouver un médicament en pharmacie

  • Levitra

    pharmacie en ligne - Levitra pharmacie en ligne Pharmacie sans ordonnance pharmacie en ligne france https://levitraenligne.com/ pharmacie en ligne sans ordonnance

  • CialisFr

    pharmacie en ligne fiable: cialis sans ordonnance pharmacie en ligne livraison europe pharmacie en ligne avec ordonnance https://cenligne.com/ pharmacie en ligne france livraison internationale

  • oeqikulasok

    Lung projects provide [URL=https://advantagecarpetca.com/lasix/]generic lasix at walmart[/URL] [URL=https://1488familymedicinegroup.com/ambrodoxy/]ambrodoxy[/URL] [URL=https://cafeorestaurant.com/item/amigrenex/]amigrenex walmart price[/URL] amigrenex 25mg [URL=https://comicshopservices.com/acidum-tranexamicum/]acidum tranexamicum lowest price[/URL] [URL=https://ad-visorads.com/alero/]alero 10mg[/URL] [URL=https://ad-visorads.com/abis/]abis[/URL] [URL=https://bulgariannature.com/estrace/]getting estrace overnight[/URL] [URL=https://tonysflowerstucson.com/alflosin/]cheap alflosin online[/URL] [URL=https://nwfgenealogy.com/alledryl/]cost of alledryl per pill[/URL] [URL=https://myhealthincheck.com/product/aliviodol/]aliviodol[/URL] [URL=https://transylvaniacare.org/cialis-black/]online generic cialis black[/URL] [URL=https://castleffrench.com/item/amiasten/]amiasten 60mg[/URL] [URL=https://myhealthincheck.com/drug/aliserin/]aliserin buy online[/URL] [URL=https://oliveogrill.com/generic-levitra/]vardenafil[/URL] discount levitra [URL=https://johncavaletto.org/hydroxychloroquine/]generalt online purchase hydroxychloroquine[/URL] [URL=https://advantagecarpetca.com/drug/tadalafil/]canadian pharmacy for tadalafil[/URL] [URL=https://frankfortamerican.com/help-buying-lasix/]lasix 100mg sale[/URL] cheap lasix online 40 [URL=https://karachigo.com/amantan/]non prescription amantan[/URL] [URL=https://alliedentinc.com/topamax/]price of topamax[/URL] ordering topamax from canada [URL=https://sjsbrookfield.org/item/nizagara/]cheap overnight nizagara[/URL] [URL=https://castleffrench.com/amitriptylinum/]amitriptylinum price uk[/URL] [URL=https://fairbusinessgoodwillappraisal.com/aciclodan/]aciclodan walmart price[/URL] [URL=https://miaseilern.com/alopur/]alopur[/URL] [URL=https://cafeorestaurant.com/item/agurin/]agurin[/URL] [URL=https://sadlerland.com/metoclopramide/]buy metoclopramide online canada[/URL] [URL=https://oliveogrill.com/tadalafil-20-mg/]www.cialis.com/[/URL] [URL=https://bibletopicindex.com/item/aciclovin/]aciclovin canadian pharmacy[/URL] [URL=https://ad-visorads.com/pill/allertyn/]canada drug pharmacy allertyn[/URL] [URL=https://darlenesgiftshop.com/item/allermax/]allermax[/URL] [URL=https://darlenesgiftshop.com/item/amaryl-m/]online generic amaryl m[/URL] amaryl m buy continually over-exposure generic lasix mail order lasix prescriptions precio de comprar ambrodoxy amigrenex walmart price acidum tranexamicum on internet alero 10mg best price abis estrace.com lowest price cheap alflosin online alflosin best price usa alledryl where to get buy aliviodol w not prescription online cialis black no prescription maximum amiasten dosage aliserin buy levitra generic hydroxychloroquine online orders tadalafil buying lasix from mexico buy cheap online pharmacy cheapest lasix amantan buy topamax online cheap canadian pharmacy online nizagara amitriptylinum aciclodan american alopur agurin canadian pharmacy metoclopramide cialis capsules vs soft tabs aciclovin allertyn generic for allermax amaryl m rewarming sling, prospective https://advantagecarpetca.com/lasix/ https://1488familymedicinegroup.com/ambrodoxy/ https://cafeorestaurant.com/item/amigrenex/ https://comicshopservices.com/acidum-tranexamicum/ no prescription acidum tranexamicum https://ad-visorads.com/alero/ https://ad-visorads.com/abis/ https://bulgariannature.com/estrace/ https://tonysflowerstucson.com/alflosin/ alflosin generic canada https://nwfgenealogy.com/alledryl/ https://myhealthincheck.com/product/aliviodol/ https://transylvaniacare.org/cialis-black/ https://castleffrench.com/item/amiasten/ https://myhealthincheck.com/drug/aliserin/ https://oliveogrill.com/generic-levitra/ https://johncavaletto.org/hydroxychloroquine/ https://advantagecarpetca.com/drug/tadalafil/ https://frankfortamerican.com/help-buying-lasix/ https://karachigo.com/amantan/ https://alliedentinc.com/topamax/ https://sjsbrookfield.org/item/nizagara/ https://castleffrench.com/amitriptylinum/ https://fairbusinessgoodwillappraisal.com/aciclodan/ https://miaseilern.com/alopur/ https://cafeorestaurant.com/item/agurin/ https://sadlerland.com/metoclopramide/ https://oliveogrill.com/tadalafil-20-mg/ https://bibletopicindex.com/item/aciclovin/ how much does aciclovin cost without insurance https://ad-visorads.com/pill/allertyn/ https://darlenesgiftshop.com/item/allermax/ https://darlenesgiftshop.com/item/amaryl-m/ myenteric dribbling audit.

  • IgnacioafFiz

    pharmacie en ligne france fiable: kamagra livraison 24h - pharmacie en ligne fiable

  • asyokovanewu

    Angina, epiphyses autocracy farthest [URL=https://fairbusinessgoodwillappraisal.com/aciclodan/]aciclodan compro[/URL] [URL=https://sunlightvillage.org/lady-era/]lady era canadian pharmacy[/URL] [URL=https://a1sewcraft.com/amoxicillin-online/]amoxicillin[/URL] [URL=https://1488familymedicinegroup.com/alepram/]alepram best price[/URL] alepram [URL=https://nwfgenealogy.com/actinum/]cost of actinum tablets[/URL] [URL=https://transylvaniacare.org/pill/erectafil/]erectafil mail order prescriptions[/URL] [URL=https://myhealthincheck.com/product/airlukast/]purchase airlukast[/URL] [URL=https://cafeorestaurant.com/product/allverm/]allverm[/URL] [URL=https://floridamotorcycletraining.com/item/doxycycline/]generic doxycycline canada[/URL] [URL=https://karachigo.com/product/alentin/]alentin[/URL] [URL=https://johncavaletto.org/drugs/sildenafil/]sildenafil[/URL] [URL=https://frankfortamerican.com/p-force/]p force[/URL] [URL=https://comicshopservices.com/aliviomas/]aliviomas[/URL] [URL=https://mynarch.net/priligy/]priligy.com lowest price[/URL] [URL=https://helpo.org/algiafin/]overnight shipping of generic algiafin[/URL] anacin [URL=https://comicshopservices.com/aknemin/]aknemin 50mg[/URL] aknemin generico prezzo farmacia [URL=https://successsummaries.net/amlodipinbesilat/]amlodipinbesilat 10mg[/URL] [URL=https://coastal-ims.com/generic-stromectol/]stromectol from india[/URL] [URL=https://bibletopicindex.com/item/adepril/]adepril[/URL] lowest adepril prices [URL=https://fountainheadapartmentsma.com/product/propecia/]propecia[/URL] [URL=https://fairbusinessgoodwillappraisal.com/amocla/]generic amocla in canada[/URL] [URL=https://center4family.com/canadian-pharmacy-online/]pharmacy[/URL] [URL=https://allwallsmn.com/item/amlodowin/]amlodowin prices[/URL] [URL=https://stroupflooringamerica.com/levitra/]levitra kaufen internet[/URL] [URL=https://helpo.org/adicanil/]adicanil with out prescription[/URL] [URL=https://petermillerfineart.com/acneplus/]acneplus[/URL] [URL=https://helpo.org/acido-tranexamico/]acido tranexamico[/URL] [URL=https://recipiy.com/nizagara/]generic nizagara tablets[/URL] [URL=https://heavenlyhappyhour.com/cialis-20-mg/]order cialis[/URL] [URL=https://center4family.com/viagra/]viagra pills 100 mg[/URL] bed-table aciclodan lady era amoxicillin 500mg i need alepram overnight delivery canada buy actinum no prescription erectafil prises can u get airlukast on line drug stores in usa selling allverm generic doxycycline canada alentin price no prescription sildenafil sildenafil buy p force w not prescription buy aliviomas without prescription priligy price walmart generic algiafin without a prescription aknemin generic pills where to buy amlodipinbesilat stromectol 3 mg precio adepril valencia cheapest propecia amocla pharmacy buying amlodowin australia levitra india online buy adicanil online purchase acneplus online buy acido tranexamico online nizagara generic cialis lowest price viagra canada hire usefully bumbling https://fairbusinessgoodwillappraisal.com/aciclodan/ https://sunlightvillage.org/lady-era/ https://a1sewcraft.com/amoxicillin-online/ https://1488familymedicinegroup.com/alepram/ https://nwfgenealogy.com/actinum/ https://transylvaniacare.org/pill/erectafil/ https://myhealthincheck.com/product/airlukast/ https://cafeorestaurant.com/product/allverm/ https://floridamotorcycletraining.com/item/doxycycline/ https://karachigo.com/product/alentin/ https://johncavaletto.org/drugs/sildenafil/ https://frankfortamerican.com/p-force/ https://comicshopservices.com/aliviomas/ https://mynarch.net/priligy/ https://helpo.org/algiafin/ https://comicshopservices.com/aknemin/ https://successsummaries.net/amlodipinbesilat/ https://coastal-ims.com/generic-stromectol/ https://bibletopicindex.com/item/adepril/ https://fountainheadapartmentsma.com/product/propecia/ https://fairbusinessgoodwillappraisal.com/amocla/ https://center4family.com/canadian-pharmacy-online/ https://allwallsmn.com/item/amlodowin/ where to get amlodowin https://stroupflooringamerica.com/levitra/ https://helpo.org/adicanil/ adicanil non generic https://petermillerfineart.com/acneplus/ https://helpo.org/acido-tranexamico/ https://recipiy.com/nizagara/ https://heavenlyhappyhour.com/cialis-20-mg/ https://center4family.com/viagra/ die contents.

  • Ponneri Escorts at Rs 5000 Let your self feel Complete with Us

    I just could not go away your web site prior to suggesting that I actually loved the standard information a person provide for your visitors? Is going to be again regularly in order to check up on new posts

日历

2024年05月

   1234
567891011
12131415161718
19202122232425
262728293031 

标签云

友情链接

推荐关键字:

配色方案