配置阿里云docker镜像地址
2024-08-24 18:44:57
{
"registry-mirrors": [
"https://kfwkfulq.mirror.aliyuncs.com",
"https://2lqq34jg.mirror.aliyuncs.com",
"https://pee6w651.mirror.aliyuncs.com",
"https://registry.docker-cn.com",
"http://hub-mirror.c.163.com"
],
"dns": ["8.8.8.8","8.8.4.4"]
}
安装docker前需要安装的依赖包:
yum install -y yum-utils device-mapper-persistent-data lvm2
使用阿里国内源安装docker
yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
yum list docker-ce --showduplicates | sort -r
yum makecache fast
yum install docker-ce -y
最新文章
- 【BZOJ 4581】【Usaco2016 Open】Field Reduction
- TODO:Ubuntu下安装Node
- 多个 App 间启动
- BZOJ4540 [Hnoi2016]序列
- 自动运维:Ansible -ansible tower
- ZooKeeper学习第一期---Zookeeper简单介绍
- IIS目录下文件共享后System.IO.File.Exists返回false
- javaBean登录注册
- HDOJ(HDU) 2201 熊猫阿波的故事(概率问题)
- js 按元素向数组中最佳删除元素
- Windows Phone 8初学者开发—第1部分:系列介绍
- Javascript的精华
- AngularJS的五个超酷特性
- JS设计模式之---单例模式
- SQL-删除重复记录
- Django学习-13-simple_tag使用
- Unable to preventDefault inside passive event listener
- Clustering[Spectral Clustering]
- .Net 上传文件和下载文件
- C#注册表读写完整操作类