网站首页 > 教程文章 正文
阿里镜像加速(这里以阿里云源为案例操作)
# 修改daemon配置文件/etc/docker/daemon.json来使用加速器
# 方式一
{
"registry-mirrors": ["https://93p84jkw.mirror.aliyuncs.com"]
}
或者
{
"registry-mirrors": ["https://registry.docker-cn.com"]
}
# 方式二
cat > /etc/docker/daemon.json <<EOF
{
"registry-mirrors": ["https://93p84jkw.mirror.aliyuncs.com"]
}
EOF
# 重新加载
systemctl daemon-reload
# 重新启动
systemctl restart docker
- 上一篇: CentOS 更新yum源总结
- 下一篇: frida环境搭建及hook入门
猜你喜欢
- 2024-12-07 Pytorch配置GPU加速深度学习环境
- 2024-12-07 APISIX从安装到放弃
- 2024-12-07 K8S+DevOps架构师实战课 | Kubernetes安装手册(非高可用版)
- 2024-12-07 frida环境搭建及hook入门
- 2024-12-07 CentOS 更新yum源总结
- 2024-12-07 玩转大模型必备:milvus向量数据库私有化安装部署及使用介绍
- 2024-12-07 java自动化测试
- 2024-12-07 使用debian镜像的优点,nodejs,nginx,python...
- 2024-12-07 如何开发一个Python命令行小工具并上传到Pypi?
- 2024-12-07 Could not retrieve mirrorlist http://mirrorlist.centos.org/?rele
- 最近发表
- 标签列表
-
- location.href (44)
- document.ready (36)
- git checkout -b (34)
- 跃点数 (35)
- 阿里云镜像地址 (33)
- qt qmessagebox (36)
- md5 sha1 (32)
- mybatis plus page (35)
- semaphore 使用详解 (32)
- update from 语句 (32)
- vue @scroll (38)
- 堆栈区别 (33)
- 在线子域名爆破 (32)
- 什么是容器 (33)
- sha1 md5 (33)
- navicat导出数据 (34)
- 阿里云acp考试 (33)
- 阿里云 nacos (34)
- redhat官网下载镜像 (36)
- srs服务器 (33)
- pico开发者 (33)
- https的端口号 (34)
- vscode更改主题 (35)
- 阿里云资源池 (34)
- os.path.join (33)