Docker Desktop如何换镜像源?

docker现在很多镜像源都出现了问题,导致无法拉取镜像,所以找到一个好的镜像源,尤为重要。

一、阿里镜像源

经过测试,目前,阿里云镜像加速地址还可以使用。如果没有阿里云账号,需要先注册一个账号。
地址:https://cr.console.aliyun.com/cn-hangzhou/instances/mirrors

在这里插入图片描述

二、更换镜像源

[1-设置] -> [2- Docker Engine] -> [3-修改源] -> [4- Apple & restart]

在这里插入图片描述

将镜像源加入到配置文件中,例如这样格式。

  "registry-mirrors":[
    "https://registry.docker-cn.com",
    

相关推荐

  1. dockerdesktop 导出镜像,导入镜像

    2024-07-12 03:14:02       50 阅读
  2. ubuntu下conda如何设置镜像(清华镜像

    2024-07-12 03:14:02       49 阅读
  3. 如何部署本地dockers镜像

    2024-07-12 03:14:02       20 阅读
  4. Ubuntu pip

    2024-07-12 03:14:02       59 阅读
  5. npm<span style='color:red;'>换</span><span style='color:red;'>源</span>

    npm

    2024-07-12 03:14:02      49 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-07-12 03:14:02       67 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-07-12 03:14:02       72 阅读
  3. 在Django里面运行非项目文件

    2024-07-12 03:14:02       58 阅读
  4. Python语言-面向对象

    2024-07-12 03:14:02       69 阅读

热门阅读

  1. UNIAPP 使用地图 百度 高德 腾讯地图路线轨迹

    2024-07-12 03:14:02       21 阅读
  2. 理解李彦宏的“不卷模型,卷应用”理念

    2024-07-12 03:14:02       23 阅读
  3. 关于windows下编译xLua插件的流程记录

    2024-07-12 03:14:02       23 阅读
  4. 从零开始学习嵌入式----Makefile工具

    2024-07-12 03:14:02       17 阅读
  5. SpringBoot 定时任务之@Scheduled cron表达式

    2024-07-12 03:14:02       17 阅读
  6. C/C++开发,IniFile源码下载

    2024-07-12 03:14:02       19 阅读
  7. jQuery Mobile 安装指南

    2024-07-12 03:14:02       26 阅读
  8. centos ssh一键升级到9.8版本脚本

    2024-07-12 03:14:02       20 阅读
  9. Kotlin 中 is 关键字的作用与智能类型转换

    2024-07-12 03:14:02       22 阅读