参考docker官网安装文档以及阿里云安装文档
docker version
//执行上面命令,出现下面结果
[root@localhost ~]# docker version
Client: Docker Engine – Community
Version: 19.03.4
API version: 1.40
Go version: go1.12.10
Git commit: 9013bf583a
Built: Fri Oct 18 15:52:22 2019
OS/Arch: linux/amd64
Experimental: false
Server: Docker Engine – Community
Engine:
Version: 19.03.4
API version: 1.40 (minimum version 1.12)
Go version: go1.12.10
Git commit: 9013bf583a
Built: Fri Oct 18 15:50:54 2019
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.2.10
GitCommit: b34a5c8af56e510852c35414db4c1f4fa6172339
runc:
Version: 1.0.0-rc8+dev
GitCommit: 3e425f80a8c931f88e6d94a8c831b9d5aa481657
docker-init:
Version: 0.18.0
GitCommit: fec3683
7、运行docker测试项目
(2)注册账号,或者使用支付宝账号登陆
(3)登陆后进入下面页面
(4)选择<镜像加速器>菜单,右边会显示你专属的镜像加速器地址,然后选择centos,直接复制上图红框中的代码在终端中运行即可,或者复制下面命令,修改为自己的镜像加速地址后运行
到此centos7系统下安装docker已经完成!!!
原文链接:https://www.cnblogs.com/763977251-sg/p/11837130.html
原创文章,作者:优速盾-小U,如若转载,请注明出处:https://www.cdnb.net/bbs/archives/5661