install Docker CE 17.03 on RHEL7

前端 未结 7 1444
轮回少年
轮回少年 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:36

    As per the documentation here, you can install Docker CE 17.03 (or future versions) on RHEL 7.3 64-bit via:

    Set up the Docker CE repository on RHEL:

    sudo yum install -y yum-utils
    sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
    sudo yum makecache fast
    

    Install the latest version of Docker CE on RHEL:

    sudo yum -y install docker-ce
    

    Alternatively, you can specify a specific version of Docker CE:

    sudo yum -y install docker-ce--
    

    Start Docker:

    sudo systemctl start docker
    

    Test your Docker CE installation:

    sudo docker run hello-world
    

提交回复
热议问题