docker
硬核韦恩
这个作者很懒,什么都没留下…
展开
-
centos配置阿里源以及安装docker、docker-compose
配置阿里源 下载源 安装wget yum install -y wget 下载CentOS 7的repo文件 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo 或者 curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo 更新镜像源 清除缓存:yum c原创 2020-09-07 10:41:18 · 290 阅读 · 0 评论 -
阿里云docker镜像加速配置
阿里云docker镜像加速 https://account.aliyun.com/login/login.htm,登录阿里云先获取个人镜像加速器地址 针对Docker客户端版本大于 1.10.0 的用户 安装完docker后,您可以通过修改daemon配置文件/etc/docker/daemon.json来使用加速器 sudo vim /etc/docker/daemon.json { "registry-mirrors": ["https://xxxxxxxx.mirror.aliyuncs.com原创 2020-09-04 19:23:20 · 189 阅读 · 0 评论