Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

How to parse hot updates of daemon.json files

Shulou Source: shulou.com Published: 2022-06-01 14:01:52 09月26日 Update

How to parse the hot update of daemon.json files, I believe many inexperienced people are at a loss about this. Therefore, this paper summarizes the causes and solutions of the problem. Through this article, I hope you can solve this problem.

In Linux, the hot update of docker takes effect command, configuration: insecure-registries,registry-mirrors

Sudo kill-SIGHUP $(pidof dockerd)

The advantage is that when you modify insecure and mirrors, you don't need to restart docker.

Check to see if it works through docker info.

Or docker inspect to view the configuration information of the running container. For example, you can view the log-driver configuration.

Docker inspect efbb61772c94-f'{{.HostConfig.LogConfig}}'

After reading the above, do you know how to parse the hot update of daemon.json files? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!

Tags: Updates configurations files content methods more problems helpless to this end information reasons commands benefits containers this skills articles experience industry information Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MariaDB Huawei Redmi Xiaomi OPPO Reno