Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to update docker

Shulou Source: shulou.com Published: 2022-06-01 01:14:40 11月12日 Update

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!

Tags: Version article update value interest at the same time more friends knowledge editing industry information information channels channels Laian reference learning help support Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MariaDB Docker Redmi Linux OPPO Reno