In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article focuses on "docker download image and image source acceleration methods", interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Next let the editor to take you to learn "docker download image and mirror source acceleration method"!
1. Introduction
Before we talk about mirroring, let's talk about containers. In fact, containers are processes running on images. Docker containers are processes. For example, images are templates and exist on disk, while containers are instances generated by templates. Images are classes, objects are containers, and objects are generated by classes.
To view the mirror on the system first, you can use the docker images command.
You'll find it's empty.
Because there is no mirror image.
Let's make a hello world.
To download the image first, use the docker pull command, such as:
$docker pull hello-world
You may find that there is no response for a long time, let alone download it, because the place where the image is placed is abroad, anyway, it is a bit slow to visit at home, so you need to use an accelerator.
two。 Accelerator
Someone has already synchronized those images and put them on the domestic server, so we can download them much faster.
This is the accelerator.
There are many accelerators in China, and we use Aliyun's accelerator.
Https://cr.console.aliyun.com/#/imageList
Post the following content on the terminal:
Sudo mkdir-p / etc/dockersudo 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.