In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly shows you "CentOS-6.7 how to install Docker", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "CentOS-6.7 how to install Docker" this article.
1. Determine the CentOS version
Although you are sure it is CentOS, check the CentOS version number, as shown below:
[root@localhost] # rpm-Q centos-releasecentos-release-6-7.el6.centos.12.3.x86_642. Install EPEL
Use yum for installation:
Yum install-y http://mirrors.yun-idc.com/epel/6/i386/epel-release-6-8.noarch.rpm
3. Install Docker
Use yum for installation:
Yum install docker-io
4. Start Dockerservice docker start
5. Set up the boot Docker
Set up boot boot:
Chkconfig docker on6.HelloWord tests whether the installation is successful [root@localhost ~] # docker run ubuntu echo hello worldUnable to find image 'ubuntu:latest' locallylatest: Pulling from ubuntu48731f0a6276: Pull complete 9302827ed0a5: Pull complete f03f3645bde1: Pull complete cdd474520b8c: Pull complete ubuntu:latest: The image you are pulling has been verified. Important: image verification is a tech preview feature and should not be relied on to provide security.Digest: sha256:40cd91cbcaac863fa2fc0b8a8eaa440565ef5ce498d60177988f6f55ec691d9dStatus: Downloaded newer image for ubuntu:latesthello world above is all the content of the article "how to install Docker in CentOS-6.7". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, 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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.