In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
In this issue, the editor will bring you about how to upgrade Docker to the latest version. The article is rich in content and analyzes and narrates it from a professional point of view. I hope you can get something after reading this article.
1. View system requirements
Docker requires the kernel version of the CentOS system to be higher than 3.10. Check the kernel version of CentOS.
Uname-a2, delete the old version of yum remove docker docker-common docker-selinux docker-engine3, install the required software packages
Yum-util provides yum-config-manager functions, and the other two are dependent on the devicemapper driver.
Sudo yum install-y yum-utils device-mapper-persistent-data lvm24, set Docker yum source sudo yum-config-manager-- add-repo https://download.docker.com/linux/centos/docker-ce.repo5, view all docker versions in all repositories
You can view all docker versions in all repositories and select a specific version to install.
Yum list docker-ce-- showduplicates | sort-R6. Install dockersudo yum install docker-ce
Since only stable repository is enabled by default in repo, the latest stable 18.03.0.ce-1.el7.centos is installed here.
If you are installing a specific version:
Sudo yum install docker-ce-18.06.1.ce7, startup
Set to boot
Systemctl enable docker
Start
Systemctl start docker
View startup status
Systemctl status docker
View version
Docker version
This is how the Docker shared by the editor has been upgraded to the latest version. If you happen to have similar doubts, you might as well refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
Dependency org.springframework.boot spring-boot-starter-data-redis
© 2024 shulou.com SLNews company. All rights reserved.