...
필수 패키지 설치
Code Block language bash theme Midnight $ sudo yum install -y yum-utils \ device-mapper-persistent-data \ lvm2
Stable repository 설정
Code Block language bash theme Midnight $ sudo yum-config-manager \ --add-repo \ https://download.docker.com/linux/centos/docker-ce.repo
Docker CE 설치
최신 버전설치
Code Block language bash theme Midnight $ 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