docker 镜像源

cat /etc/docker/daemon.json

复制代码
{
   "registry-mirrors": ["https://dockerproxy.com","https://ccr.ccs.tencentyun.com","https://hub-mirror.c.163.com","https://developer.aliyun.com/mirror/","https://registry.cn-hangzhou.aliyuncs.com","https://dockerhub.azk8s.cn","https://tcr.tuna.tsinghua.edu.cn/","https://9cpn8tt6.mirror.aliyuncs.com","https://mirror.baidubce.com","https://mirror.ccs.tencentyun.com"],
   "insecure-registries": ["http://192.168.1.249:8086","https://192.168.1.249:16443"],
   "live-restore": true
}

重启

sudo systemctl restart docker

验证:

测试是否好使 或者查看 docker info 信息

docker pull ccr.ccs.tencentyun.com/library/nginx:latest

相关推荐
leikooo6 小时前
用餐厅和盘子理解栈和堆
java·数据结构·链表·rust
灯澜忆梦8 小时前
【minio】#1 | 简介与安装
docker·对象存储·minio
Ivanqhz8 小时前
激活函数在 Transformer 中的作用及各种变体简述
java·linux·数据库·人工智能·深度学习
沙漠之主8 小时前
C++编程教学设计资料:从入门到实战的完整课程方案
java·前端·c++
FPGA小徐8 小时前
PA1 基础设施(2)深度解析:NEMU 中 ITRACE、MTRACE、FTRACE、IRINGBUF、ETRACE、DIFFTEST 全解析
java·服务器·网络
YOLO数据集集合9 小时前
EvoAgent:面向PR研发治理的自进化Multi-Agent Harness系统
java·开发语言·目标检测·agent·自进化
知行EDI9 小时前
知行之桥 MaBang 端口使用指南——Create Order 订单创建篇
java·服务器·数据库
笑鸿的学习笔记9 小时前
C++笔记之大块顺序写
java·c++·笔记
打工仔折腾 AI9 小时前
从 Demo 到生产级 Agent:8 个关键设计机制与 Python 实现拆解
java·jvm·人工智能·后端·python·langchain·ai agent 实战
写后端的胖头鱼10 小时前
一文详解Cache Aside(旁路缓存模式)
redis·缓存·延迟双删·缓存一致