How to install docker specific version

后端 未结 8 1254
半阙折子戏
半阙折子戏 2021-01-30 17:34

How to install specific version of Docker(like 1.3.2)?

I am unable to find any documentation in docker official docs. Referring this link for Ubuntu.

<
8条回答
  •  盖世英雄少女心
    2021-01-30 18:07

    How I did it on my laptop (btw https://get.docker.com/ubuntu/ not available anymore):

    $ wget -qO- https://get.docker.com/ | sh      # install resources
    $ apt-cache showpkg docker-engine             # show version which are available
    $ apt-get install docker-engine=1.8.2-0~willy # install 1.8.2 version
    $ sudo apt-mark hold docker-engine            # prevent upgrade on sys upgrade
    $ docker version                              # check installed docker version
    

提交回复
热议问题