Centos 6.10 how to install docker and many error messages

  1. change yum repo
    wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo
    repo url: http://mirrors.aliyun.com/repo/ or http://mirror.centos.org/centos/
  2. yum update or upgrade

  3. yum install docker-io
    There is no available docker-io and docker-ce packages for centos 6 We should install docker engine yum install https://yum.dockerproject.org/repo/main/centos/6/Packages/docker-engine-1.7.1-1.el6.x86_64.rpm

  4. centainer-selinux
    no package available for centos 6