1. 通过命令对系统的版本进行查看

[root@localhost ~]# uname -a
[root@localhost ~]# cat /etc/issue

--> 如果是6.5之前的版本 -- yum update 进行升级
--> 需要时64位的系统  -- 刚开始就应该加入64位的iso

2. 进行docker安装

//centos6
[root@localhost ~]# yum install -y epel-release
[root@localhost ~]# yum install -y docker-io
[root@localhost ~]# /etc/init.d/docker start

//centos7
[root@localhost ~]# yum install -y docker
[root@localhost ~]# systemctl start docker

 

相关文章:

  • 2021-06-09
  • 2021-11-07
  • 2021-05-26
  • 2021-12-06
  • 2021-06-08
  • 2021-05-29
  • 2022-02-20
  • 2022-12-23
猜你喜欢
  • 2022-01-29
  • 2022-02-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-02
  • 2021-08-28
相关资源
相似解决方案