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/02 Report--
How to use Docker Accelerator for users with Docker client version greater than 1.10
When you download and install a Docker Version of no less than 1.10, it is recommended to configure it directly through daemon config.
Use the configuration file / etc/docker/daemon.json (create a new file if not available)
{
"insecure-registries": ["192.168.10.7 666"]
"registry-mirrors": ["https://9yhxvwku.mirror.aliyuncs.com"]"
"live-restore": true
}
Parameter description:
Insecure-registries private warehouse address
The acceleration address of registry-mirrors image, that is, the third-party repository, can also be changed to your own repository address http://192.168.10.7:666, so that you do not need to add the address and port of the private repository for docker pull.
Live-restore enables real-time restore
By default, when the Docker daemon terminates, it closes the running container. Starting with Docker Engine 1.12, you can configure the daemon so that the container is still running when the daemon is not available. This feature is called real-time restore. The real-time restore option helps reduce container downtime due to daemon crashes, planned downtime or upgrades.
Add the configuration to the daemon configuration file. On Linux, the default is / etc/docker/daemon.json
Reload the Docker daemon
Systemctl reload docker
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.