centos 安装docker报错

报错内容如下

[code]file /usr/bin/docker from install of docker-io-1.7.1-2.el6.x86_64 conflicts with file from package docker-1.5-5.el6.x86_64

解决方法

[code]yum -y remove docker