If you try to install on a CentOS 8 docker-ce and you get the following error:

[operatorfeitam@localhost ~]$ sudo yum install docker-ce docker-ce-cli containerd.io
Last metadata expiration check: 0:03:31 ago on Sat 22 May 2021 11:10:20 AM CEST.
Error: 
 Problem 1: problem with installed package podman-2.2.1-7.module_el8.3.0+699+d61d9c41.x86_64
  - package podman-2.2.1-7.module_el8.3.0+699+d61d9c41.x86_64 requires runc >= 1.0.0-57, but none of the providers can be installed
  - package containerd.io-1.4.4-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-70.rc92.module_el8.3.0+699+d61d9c41.x86_64
  - package containerd.io-1.4.4-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-70.rc92.module_el8.3.0+699+d61d9c41.x86_64
  - cannot install the best candidate for the job
  - package runc-1.0.0-64.rc10.module_el8.3.0+479+69e2ae26.x86_64 is filtered out by modular filtering
 Problem 2: problem with installed package buildah-1.16.7-4.module_el8.3.0+699+d61d9c41.x86_64
  - package buildah-1.16.7-4.module_el8.3.0+699+d61d9c41.x86_64 requires runc >= 1.0.0-26, but none of the providers can be installed
  - package docker-ce-3:20.10.6-3.el8.x86_64 requires containerd.io >= 1.4.1, but none of the providers can be installed
  - package containerd.io-1.4.3-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-70.rc92.module_el8.3.0+699+d61d9c41.x86_64
  - package containerd.io-1.4.3-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-70.rc92.module_el8.3.0+699+d61d9c41.x86_64
  - package containerd.io-1.4.3-3.2.el8.x86_64 conflicts with runc provided by runc-1.0.0-70.rc92.module_el8.3.0+699+d61d9c41.x86_64
  - package containerd.io-1.4.3-3.2.el8.x86_64 obsoletes runc provided by runc-1.0.0-70.rc92.module_el8.3.0+699+d61d9c41.x86_64
  - package containerd.io-1.4.4-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-70.rc92.module_el8.3.0+699+d61d9c41.x86_64
  - package containerd.io-1.4.4-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-70.rc92.module_el8.3.0+699+d61d9c41.x86_64
  - conflicting requests
  - package runc-1.0.0-56.rc5.dev.git2abd837.module_el8.3.0+569+1bada2e4.x86_64 is filtered out by modular filtering
  - package runc-1.0.0-64.rc10.module_el8.3.0+479+69e2ae26.x86_64 is filtered out by modular filtering
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
[operatorfeitam@localhost ~]$ 

The issue is fixed by removing CentOS podman and buildah packages by presenting conflicts with docker-ce:

[operatorfeitam@localhost ~]$ sudo yum erase podman buildah
Dependencies resolved.
=========================================================================================================================================================
 Package                            Architecture            Version                                                    Repository                   Size
=========================================================================================================================================================
Removing:
 buildah                            x86_64                  1.16.7-4.module_el8.3.0+699+d61d9c41                       @AppStream                   29 M
 podman                             x86_64                  2.2.1-7.module_el8.3.0+699+d61d9c41                        @AppStream                   52 M
Removing dependent packages:
 cockpit-podman                     noarch                  27.1-3.module_el8.3.0+699+d61d9c41                         @AppStream                  3.7 M
 podman-catatonit                   x86_64                  2.2.1-7.module_el8.3.0+699+d61d9c41                        @AppStream                  753 k
 toolbox                            noarch                  0.0.8-1.module_el8.3.0+475+c50ce30b                        @appstream                   18 k
Removing unused dependencies:
 conmon                             x86_64                  2:2.0.22-3.module_el8.3.0+699+d61d9c41                     @AppStream                  164 k
 container-selinux                  noarch                  2:2.155.0-1.module_el8.3.0+699+d61d9c41                    @AppStream                   46 k
 criu                               x86_64                  3.15-1.module_el8.3.0+699+d61d9c41                         @AppStream                  1.4 M
 libnet                             x86_64                  1.1.6-15.el8                                               @AppStream                  170 k
 protobuf-c                         x86_64                  1.3.0-4.el8                                                @AppStream                   56 k
 runc                               x86_64                  1.0.0-70.rc92.module_el8.3.0+699+d61d9c41                  @AppStream                   13 M

Transaction Summary
=========================================================================================================================================================
Remove  11 Packages

Freed space: 100 M
Is this ok [y/N]: y
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                 1/1 
  Running scriptlet: buildah-1.16.7-4.module_el8.3.0+699+d61d9c41.x86_64                                                                             1/1 
  Erasing          : buildah-1.16.7-4.module_el8.3.0+699+d61d9c41.x86_64                                                                            1/11 
  Erasing          : toolbox-0.0.8-1.module_el8.3.0+475+c50ce30b.noarch                                                                             2/11 
  Erasing          : cockpit-podman-27.1-3.module_el8.3.0+699+d61d9c41.noarch                                                                       3/11 
  Erasing          : podman-2.2.1-7.module_el8.3.0+699+d61d9c41.x86_64                                                                              4/11 
  Running scriptlet: podman-2.2.1-7.module_el8.3.0+699+d61d9c41.x86_64                                                                              4/11 
  Running scriptlet: container-selinux-2:2.155.0-1.module_el8.3.0+699+d61d9c41.noarch                                                               5/11 
  Erasing          : container-selinux-2:2.155.0-1.module_el8.3.0+699+d61d9c41.noarch                                                               5/11 
  Running scriptlet: container-selinux-2:2.155.0-1.module_el8.3.0+699+d61d9c41.noarch                                                               5/11 
  Erasing          : podman-catatonit-2.2.1-7.module_el8.3.0+699+d61d9c41.x86_64                                                                    6/11 
  Erasing          : runc-1.0.0-70.rc92.module_el8.3.0+699+d61d9c41.x86_64                                                                          7/11 
  Erasing          : criu-3.15-1.module_el8.3.0+699+d61d9c41.x86_64                                                                                 8/11 
  Erasing          : libnet-1.1.6-15.el8.x86_64                                                                                                     9/11 
  Running scriptlet: libnet-1.1.6-15.el8.x86_64                                                                                                     9/11 
  Erasing          : protobuf-c-1.3.0-4.el8.x86_64                                                                                                 10/11 
  Erasing          : conmon-2:2.0.22-3.module_el8.3.0+699+d61d9c41.x86_64                                                                          11/11 
  Running scriptlet: conmon-2:2.0.22-3.module_el8.3.0+699+d61d9c41.x86_64                                                                          11/11 
  Verifying        : buildah-1.16.7-4.module_el8.3.0+699+d61d9c41.x86_64                                                                            1/11 
  Verifying        : cockpit-podman-27.1-3.module_el8.3.0+699+d61d9c41.noarch                                                                       2/11 
  Verifying        : conmon-2:2.0.22-3.module_el8.3.0+699+d61d9c41.x86_64                                                                           3/11 
  Verifying        : container-selinux-2:2.155.0-1.module_el8.3.0+699+d61d9c41.noarch                                                               4/11 
  Verifying        : criu-3.15-1.module_el8.3.0+699+d61d9c41.x86_64                                                                                 5/11 
  Verifying        : libnet-1.1.6-15.el8.x86_64                                                                                                     6/11 
  Verifying        : podman-2.2.1-7.module_el8.3.0+699+d61d9c41.x86_64                                                                              7/11 
  Verifying        : podman-catatonit-2.2.1-7.module_el8.3.0+699+d61d9c41.x86_64                                                                    8/11 
  Verifying        : protobuf-c-1.3.0-4.el8.x86_64                                                                                                  9/11 
  Verifying        : runc-1.0.0-70.rc92.module_el8.3.0+699+d61d9c41.x86_64                                                                         10/11 
  Verifying        : toolbox-0.0.8-1.module_el8.3.0+475+c50ce30b.noarch                                                                            11/11 
Installed products updated.

Removed:
  buildah-1.16.7-4.module_el8.3.0+699+d61d9c41.x86_64                   cockpit-podman-27.1-3.module_el8.3.0+699+d61d9c41.noarch                         
  conmon-2:2.0.22-3.module_el8.3.0+699+d61d9c41.x86_64                  container-selinux-2:2.155.0-1.module_el8.3.0+699+d61d9c41.noarch                 
  criu-3.15-1.module_el8.3.0+699+d61d9c41.x86_64                        libnet-1.1.6-15.el8.x86_64                                                       
  podman-2.2.1-7.module_el8.3.0+699+d61d9c41.x86_64                     podman-catatonit-2.2.1-7.module_el8.3.0+699+d61d9c41.x86_64                      
  protobuf-c-1.3.0-4.el8.x86_64                                         runc-1.0.0-70.rc92.module_el8.3.0+699+d61d9c41.x86_64                            
  toolbox-0.0.8-1.module_el8.3.0+475+c50ce30b.noarch                   

Complete!
[operatorfeitam@localhost ~]$ 

And then you can now run the docker-ce, docker-cd-cli installation and containerd.io with:

sudo yum install docker-ce docker-ce-cli containerd.io

And then you can now run the docker-ce, docker-cd-cli installation and containerd.io with:

[operatorfeitam@localhost ~]$ docker -v
Docker version 20.10.6, build 370c289
[operatorfeitam@localhost ~]$