In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Reference documentation
Official Docker installation document: https://docs.docker.com/install/linux/docker-ce/centos
Aliyun Docker installation documentation: https://yq.aliyun.com/articles/110806
One click to install Docker
Https://github.com/cookcodeblog/OneDayDevOps/blob/master/components/docker/install_docker_ce.sh
Installation steps
Delete installed Docker
# Uninstall installed dockersudo yum remove docker\ docker-client\ docker-client-latest\ docker-common\ docker-latest\ docker-latest-logrotate\ docker-logrotate\ docker-selinux\ docker-engine-selinux\ docker-engine
Configure Ali Cloud Docker Yum source
# Set up repositorysudo yum install-y yum-utils device-mapper-persistent-data lvm2# Use Aliyun Dockersudo yum-config-manager-- add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
Install the specified version
View the Docker version:
Yum list docker-ce-showduplicates
When installing older versions (such as Docker 17.03.2), you need to specify the package name of the complete rpm package and add the-- setopt=obsoletes=0 parameter:
# Install docker# on a new system with yum repo defined, forcing older version and ignoring obsoletes introduced by 17.06.0yum install-y-- setopt=obsoletes=0\ docker-ce-17.03.2.ce-1.el7.centos.x86_64\ docker-ce-selinux-17.03.2.ce-1.el7.centos.noarch
Or add the version number of the rpm package name when installing a newer version of Docker (such as Docker 18.03.0):
Sudo yum install docker-ce-18.03.0.ce
Or install the latest version of Docker without adding the version number:
Sudo yum install docker-ce
Start the Docker service
# Start docker servicesystemctl enable dockersystemctl start docker
The above is the whole content of this article, I hope it will be helpful to your study, and I also hope that you will support it.
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.