install Docker CE 17.03 on RHEL7

前端 未结 7 1431
轮回少年
轮回少年 2020-12-04 07:11

Is it possible to install DockerCE in the specific version 17.03 on RHEL7 ?

  • There is information here:

    • https://docs.docker.com/engine/installa
7条回答
  •  执笔经年
    2020-12-04 07:51

    For those who are facing below error:

    Error: Package: docker-ce-17.06.0.ce-1.el7.centos.x86_64 (docker-ce-stable)
           Requires: container-selinux >= 2.9
           You could try using --skip-broken to work around the problem
           You could try running: rpm -Va --nofiles --nodigest
    

    While installing docker on RHEL 7.3+ we need to execute:

        sudo subscription-manager repos --enable rhel-7-server-extras-rpms
    

    which will enable extra rpms to be installed on yum update.After this execute:

        sudo yum update
    

    Then follow: Install Docker

    This has worked for me.

提交回复
热议问题