问题:
使用yum 安装docker时
过程:
yum repolist 的结果为 0
本地源获取失败?
考虑换yum源
(据说换成国内源可以提升速度,清华源https://mirrors.tuna.tsinghua.edu.cn/help/ubuntu/
163源:http://mirrors.163.com/.help/ubuntu.html)
结果还是不行o(╥﹏╥)o
重新注意:There are no enabled repos
Linux系统通常分为如下几类
RedHat系列:Redhat、Centos、Fedora…使用yum管理包,使用rpm命令安装rpm包
Debian系列:Debian、Ubuntu…使用apt-get管理包,使用dpkg命令安装deb包
哭o(╥﹏╥)o,来是用apt-get命令
使用apt-get update更新
诶(⊙o⊙)…发现源变成了清华源,看来之前的动作还是有用的,嘿嘿o(* ̄︶ ̄*)o
直接使用apt-get install -y docker.io 安装,速度起飞芜湖~~