How to update docker
This article mainly introduces how to update docker, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.
Install the latest version 1.11.1:
Curl-sSL https://get.docker.com/ | sh
Uninstall the old version on centos:
Service docker stop
Yum list installed | grep docker
Packages listed by yum remove
Install the specified version of the package on centos, and install the corresponding rpm package through rpm-ivh
Uninstall the old package on ubuntu:
Apt-get purge docker-engine
Sudo
Apt-get autoremove-purge docker-engine
Install the specified version of the package on ubuntu:
Apt-get install docker-engine=1.10.1-0~trusty
Thank you for reading this article carefully. I hope the article "how to update docker" shared by the editor will be helpful to everyone. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!