In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-13 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "the installation process of docker yum source". Interested friends may wish to have a look at it. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn "the installation process of docker yum source".
Installation
[root@localhost /] # yum-y install docker-io
Start the docker service
[root@localhost /] # service docker start
Starting cgconfig service: [OK]
Starting docker: [OK]
Add docker to boot boot
[root@localhost /] # chkconfig docker on
Basic information view
Docker version: check the version number of docker, including client, server, dependent Go, etc.
Docker info: view system (docker) level information, including managed images, number of containers, etc.
Directory where docker files are stored
Docker puts everything under the / var/lib/docker path.
[root@localhost docker] # ls-F
Containers/ devicemapper/ execdriver/ graph/ init/ linkgraph.db repositories-devicemapper volumes/
Of course, the containers directory is the storage container (container), the graph directory stores the image, and the file layer (file system layer) is stored under the graph/imageid/layer path. You can view the file layer. You can use this hierarchical structure to see how the file layers are superimposed layer by layer.
View root password
The password of the root user when the docker container starts is randomly assigned. View command
Docker logs 5817938c3f6e 2 > & 1 | grep 'User:' | tail-N1
At this point, I believe that you have a deeper understanding of the "docker yum source installation process", might as well come to the actual operation of it! Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
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: 210
*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.