본문 바로가기
Docker

[Docker] linux docker 특정 버전 install (18.06)

by guru_k 2022. 1. 12.
728x90
반응형
SMALL

linux 특정 버전으로 설치를 하고 싶을 경우

$ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
 
$ sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
 
$ sudo apt-get update
  
$ sudo apt-cache policy docker-ce
     18.06.2~ce~3-0~ubuntu 500
        500 https://download.docker.com/linux/ubuntu xenial/stable amd64 Packages
     18.06.1~ce~3-0~ubuntu 500
        500 https://download.docker.com/linux/ubuntu xenial/stable amd64 Packages
     18.06.0~ce~3-0~ubuntu 500
        500 https://download.docker.com/linux/ubuntu xenial/stable amd64 Packages
     18.03.1~ce-0~ubuntu 500
        500 https://download.docker.com/linux/ubuntu xenial/stable amd64 Packages
     18.03.0~ce-0~ubuntu 500
        500 https://download.docker.com/linux/ubuntu xenial/stable amd64 Packages
     17.12.1~ce-0~ubuntu 500
        500 https://download.docker.com/linux/ubuntu xenial/stable amd64 Packages
  
// 설치가 필요한 버전으로 실행
$ sudo apt-get install docker-ce=18.06.1~ce-0~ubuntu
728x90
반응형
LIST

댓글0