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/ |
Docker Installation of specific version
# yum update
# yum install yum-utils device-mapper-persistent-data lvm2
# yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
# yum list docker-ce --showduplicates | sort -r
# yum install docker-ce-
OR
# yum install docker-ce
(Above command will install latest version of Docker)
# systemctl start docker
Docker Upgradation to specific version
If you have Docker already installed and you want to upgrade it to specific version, follow below steps:
# sudo yum list docker-ce --showduplicates | sort -r
# yum install docker-ce-
# systemctl start docker