In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
I. Overview of Docker
Docker is an open source application container engine that allows developers to package their applications and dependencies into a portable container, then publish them to any popular Linux or Windows machine, or virtualize them. Containers are completely sandboxed and do not have any interface to each other.
A complete Docker consists of the following parts:
DockerClient client
Docker Daemon daemon
Docker Image Mirror
DockerContainer container
Second, comparison with virtual machine
Third, Docker core concept image (Image): similar to virtual machine image container (Container): similar to linux system environment, running and isolating applications. When the container starts from the image, docker creates a writeable layer at the top of the image, and the image itself is read-only and remains the same. Repository: each warehouse stores a certain type of image.
Container, warehouse, image operation diagram:
IV. Basic deployment of Docker
1. Install the environment package
Yum install-y yum-utils device-mapper-persistent-data lvm2
2. Use Ali's docker warehouse
[root@localhost ~] # yum-config-manager-- add-repo https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo// installs docker-ce [root@localhost ~] # yum install-y docker-cesystemctl start dockersystemctl enable dockersystemctl stop firewalld.servicesetenforce 0
3. Accelerate the download of images
[root@localhost docker] # tee / etc/docker/daemon.json
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.