在yum install 安装软件的过程中,报如下错误:

Transaction check error:
file /usr/bin/docker from install of docker-ce-17.12.1.ce-1.el7.centos.x86_64 conflicts with file from package docker-common-2:1.12.6-71.git3e8e77d.el7.centos.1.x86_64
file /usr/bin/docker-containerd from install of docker-ce-17.12.1.ce-1.el7.centos.x86_64 conflicts with file from package docker-common-2:1.12.6-71.git3e8e77d.el7.centos.1.x86_64
file /usr/bin/docker-containerd-shim from install of docker-ce-17.12.1.ce-1.el7.centos.x86_64 conflicts with file from package docker-common-2:1.12.6-71.git3e8e77d.el7.centos.1.x86_64
file /usr/bin/dockerd from install of docker-ce-17.12.1.ce-1.el7.centos.x86_64 conflicts with file from package docker-common-2:1.12.6-71.git3e8e77d.el7.centos.1.x86_64
Error Summary

在安装的过程中,说明和上面显示的软件包有冲突,需要卸载上面的软件包,然后重新安装。