前置条件
- 64-bit 系统
- kernel 3.10+
作者: 刘果国
链接:http://www.imooc.com/article/16448
来源:慕课网
前置条件
- 64-bit 系统
- kernel 3.10+
作者: 刘果国
链接:http://www.imooc.com/article/16448
来源:慕课网
前置条件
作者: 刘果国
链接:http://www.imooc.com/article/16448
来源:慕课网
作者: 刘果国
链接:http://www.imooc.com/article/16448
来源:慕课网
前置条件
作者: 刘果国
链接:http://www.imooc.com/article/16448
来源:慕课网
作者: 刘果国
链接:http://www.imooc.com/article/16448
来源:慕课网
前置条件:64位系统,内核3.1+
1.检查内核版本,返回的值大于3.10即可
作者: 刘果国
链接:http://www.imooc.com/article/16448
来源:慕课网
作者: 刘果国
链接:http://www.imooc.com/article/16448
来源:慕课网
1.检查内核版本,返回的值大于3.10即可。
作者: 刘果国
链接:http://www.imooc.com/article/16448
来源:慕课网
1.检查内核命令:
作者: 刘果国
链接:http://www.imooc.com/article/16448
来源:慕课网
$ uname -r
2、使用sudo或root登录终端
3、更新yum,
64-bit 系统
作者: 刘果国
链接:http://www.imooc.com/article/16448
来源:慕课网
作者: 刘果国
链接:http://www.imooc.com/article/16448
来源:慕课网
64-bit 系统
作者: 刘果国
链接:http://www.imooc.com/article/16448
来源:慕课网
作者: 刘果国
链接:http://www.imooc.com/article/16448
来源:慕课网
$ yum update
4、添加yum仓库
$ tee /etc/yum.repos.d/docker.repo <<-'EOF'
[dockerrepo]
name=Docker Repository
baseurl=https://yum.dockerproject.org/repo/main/centos/$releasever/
enabled=1
gpgcheck=1
gpgkey=https://yum.dockerproject.org/gpg
EOF
5、安装docker
$ yum install -y docker-engine
6、启动docker
$ systemctl start docker.service
7、检查启动是否成功
M:~$docker version
Client:
Version: 1.13.1
API version: 1.26
Go version: go1.7.5
Git commit: 092cba3
Built: Wed Feb 8 08:47:51 2017 OS/Arch: darwin/amd64
Server:
Version: 1.13.1
API version: 1.26 (minimum version 1.12)
Go version: go1.7.5 Git commit: 092cba3
Built: Wed Feb 8 08:47:51 2017 OS/Arch: linux/amd64
Experimental: true
注:转载自http://www.imooc.com/article/16448
前置条件
- 64-bit 系统
- kernel 3.10+
作者: 刘果国
链接:http://www.imooc.com/article/16448
来源:慕课网