环境说明


centos 6.8 


1. 

yum install -y epel-release

2.

yum install -y docker-io

3.启动docker服务

service docker start

4.docker version验证

[root@localhost /]# docker version
Client version: 1.7.1
Client API version: 1.19
Go version (client): go1.4.2
Git commit (client): 786b29d
OS/Arch (client): linux/amd64
Server version: 1.7.1
Server API version: 1.19
Go version (server): go1.4.2
Git commit (server): 786b29d
OS/Arch (server): linux/amd64


参考资料

  https://www.qingtingip.com/h_251646.html