Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • 필수 패키지 설치


    • Code Block
      languagebash
      themeMidnight
      $ sudo yum install -y yum-utils \
        device-mapper-persistent-data \
        lvm2


  • Stable repository 설정

    Code Block
    languagebash
    themeMidnight
    $ sudo yum-config-manager \
        --add-repo \
        https://download.docker.com/linux/centos/docker-ce.repo


Docker CE 설치

  • 최신 버전설치

    • Docker가 설치되었지만 시작되지 않았습니다. 

    • docker그룹이 생성되어 있지만 사용자는 그룹에 추가되지 않습니다.

      Code Block
      languagebash
      themeMidnight
      $ sudo yum install docker-ce docker-ce-cli containerd.io


  • 특정 버전설치

    Code Block
    $ yum list docker-ce --showduplicates | sort -r
    
    docker-ce.x86_64  3:18.09.1-3.el7                     docker-ce-stable
    docker-ce.x86_64  3:18.09.0-3.el7                     docker-ce-stable
    docker-ce.x86_64  18.06.1.ce-3.el7                    docker-ce-stable
    docker-ce.x86_64  18.06.0.ce-3.el7                    docker-ce-stable
    
    
    $ sudo yum install docker-ce-<VERSION_STRING> docker-ce-cli-<VERSION_STRING> containerd.io


...