In addition to Weibo, there is also WeChat
Please pay attention

WeChat public account
Shulou
2025-11-09 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
In the last article, we shared the evolution of containers, and then expanded the nature of containers from the perspectives of process isolation, file isolation, namespace, cgroups, and libcontainer. This article will explain the installation of Docker version and introduce the technical architecture of Docker.
If you haven't seen the previous content: you can click "what is the nature of the container?" Where does the container come from? "
Docker version
After 1. 13, Docker uses a timeline as its version number. The versions of Docker are divided into community version (CE) and enterprise version (EE). The enterprise version will provide additional fee-based services, such as officially certified plug-ins, containers, etc.
The community version is divided into three versions:
Stable version: stable. We usually use this version.
Pre-release version: test
To be released: nightly
Docker installation
1. Uninstall docker
Uninstall an existing version of docker on the host
two。 Pre-installation preparation
Configure yum
1. Install yum tools and devicemapper storage drivers
two。 Configure yum
In the process of yum makecache, you can see that the package that can be installed and used is the dockerr-ce-stable version, that is, only the stable repository is opened by default in repo.
At this point, if we need to install the test or nightly version, we can use yum-config-manger-enable docker-ce-test to open the repository.
Install docker
You can use yum list to view the version of docker in the repository:
1. Install docker
two。 Start docker
Systemctl start docker
Systemctl enable docker
3. View docker version
Configuration of Docker Image download Accelerator
Ali image accelerator can be configured. Refer to the link for configuration method:
Https://cr.console.aliyun.com/cn-hangzhou/instances/mirrors
For those with docker client version greater than 1.10.0, you can use the accelerator by modifying the / etc/docker/daemon.json file.
If the file does not exist, it is created directly.
Operation command:
Sudo mkdir-p / etc/docker
Sudo 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.

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.