安于心

文章 分类 评论
7 1 34611

站点介绍

这里是站点介绍...

安于心学习吧

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

  • Amoxila 2024-04-14 19:51:40
    where to buy amoxicillin over the counter buy amoxicillin 500mg cost of amoxicillin 875 mg amoxicillin generic https://amoxicillina.top/ amoxicillin medicine
  • Amoxila 2024-04-14 19:39:36
    amoxicillin 750 mg price amoxicillin 500 mg brand name amoxicillin generic amoxicillin 500mg capsule cost https://amoxicillina.top/ amoxicillin 500 capsule
  • Amoxila 2024-04-14 19:27:29
    amoxicillin online without prescription amoxicillin 500 mg where to buy amoxicillin 500 mg tablet price over the counter amoxicillin https://amoxicillina.top/ amoxicillin where to get
  • DomenicMag 2024-04-14 19:19:53
    generic zithromax over the counter: buy zithromax - can i buy zithromax over the counter in canada

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

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

漏洞及渗透练习平台

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

热门文章

最新评论

  • Amoxila

    where to buy amoxicillin over the counter buy amoxicillin 500mg cost of amoxicillin 875 mg amoxicillin generic https://amoxicillina.top/ amoxicillin medicine

  • BryanNeate

    ivermectin new zealand: ivermectin cream 5% - Buy Online Ivermectin/Stromectol Now

  • 에그벳주소

    qiyezp.com Hongzhi 황제는 안도의 한숨을 쉬었습니다. "좋아요, Liu Qing의 가족 ... 얘기 할 수 있을까요?"

  • Amoxila

    amoxicillin 750 mg price amoxicillin 500 mg brand name amoxicillin generic amoxicillin 500mg capsule cost https://amoxicillina.top/ amoxicillin 500 capsule

  • DomenicMag

    buy minocycline 100 mg: minocycline 100mg pills online - stromectol 12mg online

  • eruwahositas

    Atropine mutually elevate [URL=https://karachigo.com/item/colofac/]lowest colofac price[/URL] [URL=https://breathejphotography.com/myrbetriq/]myrbetriq[/URL] [URL=https://mynarch.net/product/propranolol/]propranolol[/URL] [URL=https://damcf.org/bimat/]bimat lowest price[/URL] [URL=https://the7upexperience.com/pasitrex-ointment/]pasitrex-ointment usa online pharmacy[/URL] [URL=https://karachigo.com/drugs/restasis/]restasis[/URL] [URL=https://drgranelli.com/product/ethinyl/]buy ethinyl cheap fed ex[/URL] ethinyl bestellen [URL=https://breathejphotography.com/pomalyst/]pomalyst buy online[/URL] [URL=https://yourbirthexperience.com/nizagara/]discount nizagara[/URL] [URL=https://drgranelli.com/product/cosmelite/]cosmelite[/URL] [URL=https://frankfortamerican.com/prednisone-20mg/]prednisone 20mg[/URL] [URL=https://teenabortionissues.com/item/cheap-prednisone/]prednisone 10mg[/URL] cheap prednisone [URL=https://endmedicaldebt.com/item/ezetimibe/]ezetimibe express mail[/URL] [URL=https://center4family.com/prednisone-no-prescription/]prednisone steroid[/URL] [URL=https://sjsbrookfield.org/pill/levitra/]cheap levitra online[/URL] [URL=https://center4family.com/cheap-cialis/]cialis[/URL] [URL=https://yourbirthexperience.com/viagra/]p viagra[/URL] [URL=https://productreviewtheme.org/drug/prednisone/]where to buy prednisone[/URL] [URL=https://endmedicaldebt.com/morr-f/]on line morr f[/URL] [URL=https://breathejphotography.com/product/lotemax/]generic lotemax uk[/URL] [URL=https://teenabortionissues.com/item/meloxicam/]pharmacy prices for meloxicam[/URL] [URL=https://endmedicaldebt.com/item/acarbose/]acarbose prices[/URL] generic acarbose online pharmacy [URL=https://fairbusinessgoodwillappraisal.com/benzoyl/]low cost benzoyl[/URL] [URL=https://a1sewcraft.com/cialis-10-mg/]lowest price generic cialis[/URL] [URL=https://greaterparsippanyrewards.com/drugs/pyridostigmine/]pyridostigmine 60mg[/URL] [URL=https://midsouthprc.org/product/letairis/]letairis for sale[/URL] [URL=https://endmedicaldebt.com/diane-35/]diane-35 without a doctors prescription[/URL] [URL=https://fairbusinessgoodwillappraisal.com/triple-trial-pack/]buy triple trial pack online[/URL] [URL=https://thesteki.com/item/hydroxychloroquine-buy/]generic hydroxychloroquine sale[/URL] [URL=https://autopawnohio.com/albendazole/]albendazole price at walmart[/URL] psychotic-like skin colofac without a doctors prescription myrbetriq buy online propranolol no prescription bimat online lowest price for pasitrex ointment where to buy restasis lowest price for restasis generic ethinyl lowest price buy pomalyst online nizagara without dr prescription usa cosmelite prednisone on line without prescription cheap prednisone order ezetimibe prednisone no prescription levitra online usa quick forum readtopic cialis answer online easy buy viagra prednisone morr f buy lotemax w not prescription meloxicam generic buy cheap acarbose prescription online benzoyl generic benzoyl cialis.com lowest price purchase pyridostigmine on internet cost of letairis tablets diane-35 order triple trial pack online how to buy hydroxychloroquine in ireland hydroxychloroquine albendazole price at walmart girdle https://karachigo.com/item/colofac/ https://breathejphotography.com/myrbetriq/ myrbetriq https://mynarch.net/product/propranolol/ https://damcf.org/bimat/ https://the7upexperience.com/pasitrex-ointment/ lowest price for pasitrex ointment https://karachigo.com/drugs/restasis/ https://drgranelli.com/product/ethinyl/ https://breathejphotography.com/pomalyst/ apoteket pomalyst https://yourbirthexperience.com/nizagara/ https://drgranelli.com/product/cosmelite/ https://frankfortamerican.com/prednisone-20mg/ https://teenabortionissues.com/item/cheap-prednisone/ https://endmedicaldebt.com/item/ezetimibe/ https://center4family.com/prednisone-no-prescription/ https://sjsbrookfield.org/pill/levitra/ https://center4family.com/cheap-cialis/ https://yourbirthexperience.com/viagra/ https://productreviewtheme.org/drug/prednisone/ https://endmedicaldebt.com/morr-f/ https://breathejphotography.com/product/lotemax/ lotemax https://teenabortionissues.com/item/meloxicam/ meloxicam https://endmedicaldebt.com/item/acarbose/ https://fairbusinessgoodwillappraisal.com/benzoyl/ https://a1sewcraft.com/cialis-10-mg/ https://greaterparsippanyrewards.com/drugs/pyridostigmine/ https://midsouthprc.org/product/letairis/ https://endmedicaldebt.com/diane-35/ https://fairbusinessgoodwillappraisal.com/triple-trial-pack/ https://thesteki.com/item/hydroxychloroquine-buy/ https://autopawnohio.com/albendazole/ digits congestion.

  • Scottaxosy

    robot 88

  • Amoxila

    amoxicillin online without prescription amoxicillin 500 mg where to buy amoxicillin 500 mg tablet price over the counter amoxicillin https://amoxicillina.top/ amoxicillin where to get

  • MichaelCoini

    zithromax 500 mg lowest price drugstore online: zithromax buy online - where can i get zithromax over the counter

  • agoxcuxi

    Nutrition picturing listener [URL=https://frankfortamerican.com/tretinoin/]tretinoin without a prescription canada[/URL] [URL=https://andrealangforddesigns.com/pill/domperidone/]domperidone on internet[/URL] [URL=https://mynarch.net/tadasoft/]tadasoft[/URL] [URL=https://andrealangforddesigns.com/cutivate/]buy cutivate sydney[/URL] [URL=https://wellnowuc.com/buy-lasix-online/]buy lasix online[/URL] [URL=https://beauviva.com/item/clomid/]dose clomid[/URL] [URL=https://endmedicaldebt.com/item/azipro/]overnight shipping of azipro[/URL] [URL=https://stroupflooringamerica.com/product/nizagara/]nizagara[/URL] [URL=https://plansavetravel.com/levothyroxine/]levothyroxine 50mcg[/URL] [URL=https://bayridersgroup.com/tretinoin/]tretinoin commercial[/URL] [URL=https://pureelegance-decor.com/product/edarbyclor/]edarbyclor.com lowest price[/URL] [URL=https://andrealangforddesigns.com/droxia/]get online droxia[/URL] [URL=https://weddingadviceuk.com/product/esbriet/]esbriet without a doctor[/URL] [URL=https://johncavaletto.org/drug/prednisone-without-a-doctors-prescription/]prednisone without a doctors prescription[/URL] [URL=https://midsouthprc.org/product/amlodipine/]amlodipine[/URL] [URL=https://advantagecarpetca.com/drug/tadalafil/]tadalafil cialis uk[/URL] [URL=https://weddingadviceuk.com/product/prednisone/]prednisone on internet[/URL] [URL=https://the7upexperience.com/natdac/]natdac store online[/URL] [URL=https://comicshopservices.com/campral/]buy campral[/URL] [URL=https://endmedicaldebt.com/item/dymista/]canada dymista[/URL] canada dymista [URL=https://endmedicaldebt.com/item/ibrutinib/]ibrutinib online usa[/URL] [URL=https://fairbusinessgoodwillappraisal.com/triumeq/]triumeq[/URL] [URL=https://comicshopservices.com/invokana/]invokana pills[/URL] invokana [URL=https://tonysflowerstucson.com/doxycycline/]buying doxycycline 200mg[/URL] doxycycline [URL=https://fairbusinessgoodwillappraisal.com/glimepiride/]glimepiride[/URL] [URL=https://oliveogrill.com/generic-levitra-20mg/]levitra[/URL] [URL=https://ossoccer.org/drugs/sildalis/]sildalis on internet[/URL] [URL=https://ucnewark.com/clindamycin/]buying clindamycin in usa[/URL] buy clindamycin online canada [URL=https://plansavetravel.com/nizagara-25mg/]nizagara[/URL] nizagara [URL=https://frankfortamerican.com/tadalafil-20mg/]cialis tablet 20 mg[/URL] radiates tretinoin cream 0.05 domperidone on internet buy tadasoft on line purchase cutivate in usa buy cheap lasix o que e furosemide 25mg clomid price azipro nizagara levothyroxine capsules buy cheap tretinoin edarbyclor on line prescription droxia usa esbriet without a doctor esbriet tablets prednisone without a doctors prescription price of amlodipine tadalafil cialis uk prednisone buy prednisone natdac campral generic online campral canada dymista canada dymista canadian ibrutinib triumeq invokana los angeles mastercard lowest price doxycycline online generic doxycycline ordering glimepiride by phone how levitra could effect women sildalis on internet buy clindamycin online canada nizagara generic cialis 20 mg hypochlorhydria drinking vaccinating https://frankfortamerican.com/tretinoin/ https://andrealangforddesigns.com/pill/domperidone/ https://mynarch.net/tadasoft/ https://andrealangforddesigns.com/cutivate/ https://wellnowuc.com/buy-lasix-online/ https://beauviva.com/item/clomid/ https://endmedicaldebt.com/item/azipro/ https://stroupflooringamerica.com/product/nizagara/ nizagara https://plansavetravel.com/levothyroxine/ https://bayridersgroup.com/tretinoin/ cheap tretinoin https://pureelegance-decor.com/product/edarbyclor/ https://andrealangforddesigns.com/droxia/ https://weddingadviceuk.com/product/esbriet/ https://johncavaletto.org/drug/prednisone-without-a-doctors-prescription/ https://midsouthprc.org/product/amlodipine/ https://advantagecarpetca.com/drug/tadalafil/ https://weddingadviceuk.com/product/prednisone/ https://the7upexperience.com/natdac/ https://comicshopservices.com/campral/ https://endmedicaldebt.com/item/dymista/ https://endmedicaldebt.com/item/ibrutinib/ https://fairbusinessgoodwillappraisal.com/triumeq/ https://comicshopservices.com/invokana/ https://tonysflowerstucson.com/doxycycline/ https://fairbusinessgoodwillappraisal.com/glimepiride/ https://oliveogrill.com/generic-levitra-20mg/ https://ossoccer.org/drugs/sildalis/ https://ucnewark.com/clindamycin/ clindamycin coupons https://plansavetravel.com/nizagara-25mg/ https://frankfortamerican.com/tadalafil-20mg/ long-term embraces side-opening nitrates.

日历

2024年04月

 123456
78910111213
14151617181920
21222324252627
282930    

标签云

友情链接

推荐关键字:

配色方案