<pre><code>[root@k8s001 ~]# docker exec -it f72edf025141 /bin/bash
root@b33f3b7c705d:/var/lib/ghost# ps aux`enter code here`
USER        PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root          1  0.0  0.0   1012     4 ?        Ss   02:45   0:00 /pause
root          8  0.0  0.0  10648  3400 ?        Ss   02:57   0:00 nginx: master process nginx -g daemon off;
101          37  0.0  0.0  11088  1964 ?        S    02:57   0:00 nginx: worker process
node         38  0.9  0.0 2006968 116572 ?      Ssl  02:58   0:06 node current/index.js
root        108  0.0  0.0   3960  2076 pts/0    Ss   03:09   0:00 /bin/bash
root        439  0.0  0.0   7628  1400 pts/0    R+   03:10   0:00 ps aux
</code></pre>
<p>The display come from internet, it says pause container is the parent process of other containers in the pod, if you attach pod or other containers, do <code>ps aux</code>, you would see that.
Is it correct, I do in my k8s,different, PID 1 is not /pause.</p>

zhuwei
<p><code>...Is it correct, I do in my k8s,different, PID 1 is not /pause.</code></p>
<p>This has changed, pause no longer hold PID 1 despite being the first container created by the container runtime to setup the pod (eg. cgroups, namespace etc). Pause is isolated (hidden) from the rest of the containers in the pod regardless of your ENTRYPOINT/CMD. See <a href="https://github.com/cri-o/cri-o/issues/91" rel="nofollow noreferrer">here</a> for more background information.</p>
