You only need to set up the repository once, after which you can install MCR
from the repository and upgrade as needed. MCR supports the latest version of
CentOS 64-bit running on x86_64.
Note
MCR supports the overlay2 storage drivers on CentOS. The following
limitations apply:
If you enable selinux, MCR supports overlay2 on CentoOS 7.4 and
higher.
If you disable selinux, MCR supports overlay2 on CentOS 7.2 and
higher, with kernel version 3.10.0-693 and higher.
Remove any existing Docker repositories from /etc/yum.repos.d/:
sudo rm /etc/yum.repos.d/docker*.repo
Store https://repos.mirantis.com in an environment variable:
exportDOCKERURL="https://repos.mirantis.com"
Store the value of DOCKERURL using a yum variable in
/etc/yum/vars/:
sudo -E sh -c \'echo "$DOCKERURL/centos" > /etc/yum/vars/dockerurl'
Store your operating system version string in
/etc/yum/vars/dockerosversion:
sudo sh -c 'echo "<version>" > /etc/yum/vars/dockerosversion'
Install the yum-utils that provides the yum-config-manager utility:
sudo yum install -y yum-utils
Enable the extras RHEL repository to ensure access to the
container-selinux package that docker-ee requires: