Docker守护进程 [英] Docker daemon processes
问题描述
我发现, Docker守护进程
运行的次数超过一个实例。我有具有 service docker status
的PID(13399),但也有不同的PID。我只创建了一个容器。
I have found, that Docker daemon
runs more than in one instance. I have got PID(13399) with service docker status
, but there are also different PIDs. I have created only one container.
推荐答案
从列表中可以看到,统计信息基本相同(MEM等)。
这些过程实际上只是原始过程的分支。
As you can see in the list the stats are basically the same (MEM, etc.). These processes are actually just forks from the original process.
分叉通常用于在父进程的环境中执行另一个应用程序(在本例中为docker)。我不知道Docker专门用于什么用途,有很多可能性。
Forking is usually used to execute another application in the environment of the parent process (in this case: docker). I don't know what docker specifically uses it for, there are many possibilities.
有关主题分叉。
这篇关于Docker守护进程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!