How to install specific version of Docker on Centos?

前端 未结 5 464
轮回少年
轮回少年 2021-02-06 07:55

I tried to install docker 1.8.2 on Centos7. The docs don\'t tell anything about versioning. Someone who can help me? I tried

wget -qO- https://get.docker.com/ |         


        
5条回答
  •  不知归路
    2021-02-06 08:12

    List and install package(s)

    sudo yum list docker-ce --showduplicates | sort -r
    sudo yum install docker-ce-
    

    Remove previous installation

    sudo yum remove docker-ce docker-ce-cli
    

提交回复
热议问题