Docker 要求 CentOS 系统的内核版本高于 3.10 ,查看本页面的前提条件来验证你的CentOS 版本是否支持 Docker 。
查看你当前的内核版本命令:
uname -r
centos版本
3.10.0-514.el7.x86_64
初步安装和启动docker
[root@localhost ~]# yum update -y
[root@localhost ~]# yum install docker -y
[root@localhost ~]# systemctl start docker
[root@localhost ~]# systemctl enable docker
本文介绍如何在CentOS系统上安装并启动Docker。首先确认系统内核版本高于3.10,使用命令'uname -r'检查。接着通过'yum update -y'更新系统,然后用'yum install docker -y'安装Docker,最后用'systemctl start docker'及'systemctl enable docker'启动并设置Docker随系统启动。

1420

被折叠的 条评论
为什么被折叠?



