You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 30, 2021. It is now read-only.
Noting down for my own understanding from your ref link:
Suppose that your container contains a web server that runs a CGI script that's written in bash. The CGI script calls grep. Then the web server decides that the CGI script is taking too long and kills the script, but grep is not affected and keeps running. When grep finishes, it becomes a zombie and is adopted by the PID 1 (the web server). The web server doesn't know about grep, so it doesn't reap it, and the grep zombie stays in the system.
Subject of the issue
Running non-Init process as PID 1 is a Bad Idea ™.
Your environment
Docker image generated from
Dockerfile
Steps to reproduce
docker build
)Expected behavior
Lightweight init being ran as PID 1, such as Tini, or S6.
Actual behavior
Erlang VM is running as PID 1.
The text was updated successfully, but these errors were encountered: