On production systems, you should install a specific version of Docker instead of always using the latest.

To list the available versions. This example uses the sort -r command to sort the results by version number, highest to lowest, and is truncated.
Note: This yum list command only shows binary packages. To show source packages as well, omit the .x86_64from the package name.
$ yum list docker-ce.x86_64  --showduplicates |sort -r

docker-ce.x86_64            17.04.0.ce-1.el7.centos             docker-ce-edge  
docker-ce.x86_64            17.04.0.ce-1.el7.centos             @docker-ce-edge 
docker-ce.x86_64            17.03.1.ce-1.el7.centos             docker-ce-stable
docker-ce.x86_64            17.03.0.ce-1.el7.centos             docker-ce-stable

Featured Post

Biz & Tech Summit Pitch Startup Competition is coming up.

This is a great opportunity to get exposure for your startup and potentially win some prizes.