The Docker installation package available in the official CentOS 7 repository may not be the latest version. To get the latest and greatest version, install Docker from the official Docker repository. This section shows you how to do just that.
- sudo yum check-update
- curl -fsSL https://get.docker.com/ | sh
- sudo systemctl start docker
- sudo systemctl status docker
- sudo systemctl enable docker