


To install docker, you must first add the docker repository with the command below : ~]# yum-config-manager -add-repo > Finished Dependency Resolution Add docker repository > Package python-chardet.noarch 0:2.2.1-3.el7 will be installed

> Processing Dependency: python-chardet for package: python-kitchen-1.1. > Package python-kitchen.noarch 0:1.1.1-5.el7 will be installed > Processing Dependency: libxml2-python for package: yum-utils-1.1.31-54.el7_8.noarch > Processing Dependency: python-kitchen for package: yum-utils-1.1.31-54.el7_8.noarch > Package yum-utils.noarch 0:1.1.31-54.el7_8 will be installed Package device-mapper-persistent-data-0.8.5-3.el7_9.2.x86_64 already installed and latest version The next step is to install the dependencies required to install docker : ~]# yum install -y yum-utils device-mapper-persistent-data lvm2 > Package firewalld-filesystem.noarch 0:0.6.3-12.el7 will be updated Installer les dépendances : > Package firewalld.noarch 0:0.6.3-13.el7_9 will be an update > Package firewalld.noarch 0:0.6.3-12.el7 will be updated Loading mirror speeds from cached hostfile No Packages marked for removal Update the system : ~]# yum update -y No Match for argument: docker-latest-logrotate No Match for argument: docker-client-latest

Make sure no docker version is installed on your OS by typing the dnf command below : ~]# sudo yum remove docker docker-client docker-client-latest docker-common docker-latest docker-latest-logrotate docker-logrotate docker-engine
