CentOS版本问题安装Docker报错的解决方案
1. 版本信息
# cat /etc/system-release CentOS Linux release 7.2.1511 (Core) # uname -a Linux k8s-daniel-3 3.10.0-327.28.3.el7.x86_64 #1 SMP Thu Aug 18 19:05:49 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
2. Docker的安装和错误
直接使用yum -y install docker
进行安装, 然后无法启动.
3. 报错信息
错误信息: systemctl status docker.service
错误信息: journalctl -xe
4. 解决方法, 升级CentOS
yum -y update
5. 再次检查
# cat /etc/system-release CentOS Linux release 7.6.1810 (Core) # uname -a Linux k8s-daniel-3 3.10.0-327.28.3.el7.x86_64 #1 SMP Thu Aug 18 19:05:49 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
6. 重启reboot
非常关键, 一定要reboot, 否则docker还是起不起来。
7. 验证, 问题解决
相关推荐
changecan 2020-11-19
魅惑青花瓷 2020-11-11
TaoTaoFu 2020-11-06
王道革 2020-11-25
bwyyziq 2020-11-22
pigsmall 2020-11-19
helloWorldAndYou 2020-11-16
nginxs 2020-11-14
红石丶 2020-11-13
WanKaShing 2020-11-12
yangkang 2020-11-12
滴水穿石点石成金 2020-11-12
张荣珍 2020-11-12
wuxunanjing 2020-11-11
lihongtai 2020-11-09
yangkang 2020-11-09
worldsnow 2020-11-06
MichaelJScofield 2020-11-06