In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
1. Before installing docker, first use the yum-y remove docker command to remove the old version of docker that already exists on the system
Yum-y remove docker
It is shown here that the system does not have docker installed.
2. Install yum-utils Management yum Source
(1) install yum-utils
Yum install-y yum-utils
(2) add yum source
Yum-config-manager-- add-repo https://download.docker.com/linux/centos/docker-ce.repo
3. Establish metadata cache
Yum makecache fast
4. Install the latest version of docker
Yum-y install docker-ce
You can also use the command yum list docker-ce.x86_64-- showduplicates | sort-r to list the available docker versions
Use yum-y install docker-ce-version to install a specified version of docker
5. Start docker
Systemctl start docker
6. Verify that docker is installed successfully
Docker run hello-world
7. View docker version information
Docker version
8. Uninstall docker
As shown in the first step, use the command yum-y remove docker-ce command to remove the new version of docker
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
© 2024 shulou.com SLNews company. All rights reserved.