I want install docker 17 on centos,can you please suggest me on this. once i have used below yum command to install docker yum install docker* I got 1.12.6 version.
2 Answers
The 1.12.6 version you have installed is a package that is maintained by Red Hat / CentOS.
To install the official Docker package, that is maintained by Docker, follow the instructions in the documentation; https://docs.docker.com/engine/installation/linux/centos/
Be sure to uninstall the package you have installed before installing the official package.
You're installing last Docker version that is in your CentOS repos.
To install last Docker stable version, first, uninstall your current Docker installation. Then, you can easily install last version using Docker official installation script.
wget -qO- https://get.docker.com/ | sh
-
Thank you ...with above command ....It got installed docker 17 version...Server: Version: 17.05.0-ce API version: 1.29 (minimum version 1.12) Go version: go1.7.5 Git commit: 89658be Built: Thu May 4 22:06:25 2017 OS/Arch: linux/amd64 Experimental: false– anilMay 10, 2017 at 5:25
-
And also can you please suggest me how to install docker-compose for the corresponding docker 17 version.– anilMay 10, 2017 at 5:28
-
-
looks like 1.13 is the latest docker-compose version and no where mentioned about docker Version: 17.05.0-ce API compatibility.can you please clarify on this.– anilMay 10, 2017 at 8:44
-
In that link you have a "Compose file format compatibility matrix", where you can see compatibility between Compose file format and Docker Engine version. Docker Engine 17.05 is compatible with all docker-compose version, since all Docker Engine maintain backwards compatibility with old Compose versions. May 10, 2017 at 8:50