1.在centos7上直接yum安裝dockerdocker
[root@localhost ~]# yum install dockercentos
2.啓動dockercentos7
[root@localhost ~]#service docker startblog
3.查看docker版本,驗證是否安裝成功io
[root@localhost ~]#docker versionservice
overim