Transaction check error during docker CE installation [How to Solve]

Installing docker CE under CentOS is

this is because I have installed docker more than once on the machine. Some dependency conflicts are caused by version reasons. You need to find the conflicting dependencies and delete the old dependencies:

# View conflicting dependency packages
yum list installed | grep docker

Delete and reinstall the specified other version:
rpm -e docker-client.x86_64 and rpm -e docker-common.x86_64

Read More: