在 红帽6.4 上面 安装docker
yum install docker-io
Configuration file /etc/yum/pluginconf.d/product-id.conf not found
Unable to find configuration file for plugin product-id
Configuration file /etc/yum/pluginconf.d/subscription-manager.conf not found
Unable to find configuration file for plugin subscription-manager
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
No package docker available.
百度了一下,说是 需要 依赖
yum没有找到docker包,更新epel第三方软件库,运行命令:
sudo yum install epel-release
之后运行:
sudo yum install docker-io
之后就可以愉快地安装了。