CentOS 6.5 安装docker
1、更新163 yum源
1 |
|
2、安装docker
1 |
|
如果报错:
[root@localhost ~]/# sudo yum install docker-io Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile Setting up Install Process No package docker-io available. Error: Nothing to do
yum没有找到docker包,更新epel第三方软件库
运行命令:
1 |
|
之后再执行:
1 |
|
最后出现如下信息说明安装成功:
Installed: docker-io.x86_64 0:1.7.1-2.el6 Dependency Installed: libcgroup.x86_64 0:0.40.rc1-26.el6 lua-alt-getopt.noarch 0:0.7.0-1.el6 lua-filesystem.x86_64 0:1.4.2-1.el6 lua-lxc.x86_64 0:1.0.11-1.el6 lxc.x86_64 0:1.0.11-1.el6 lxc-libs.x86_64 0:1.0.11-1.el6 Complete!
安装好后执行命令:
1 |
|
启动docker。
CentOS 6.5 安装docker
https://river106.cn/posts/690edb09.html