I bought an ssd vps on ovh.com (with CentOS7) and installed docker using “yum install docker” command. My main purpose was to install discourse on this VPS since this solution seems to be cheaper compared to using a 20$ droplet on DigitalOcean. Anyways..
I ran “yum install docker” but the installed version of Docker was not the latest and “yum update” wouldn’t fix it. To be able to install the latest docker version I had to completely remove the existing one and install the new one. Removing the docker was not as easy as running “yum remove docker”, that didn’t work. To remove I ran the command below:
sudo yum remove docker \
Now to install the latest release I ran the below command:
curl -sSL https://get.docker.com/ | sh
Run “docker -v” to see the installed version.
Hope this helps.