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
When docker exec into a Docker container with zsh as shell, nvm.shwould generate a dozens of zombie processes. This problem only arise when nvm is running on zsh. There is no zombie process when running nvm with bash.
I understand that many Docker containers do not run with a proper init process, and it is inevitable that zombie process will eventually lurk out. But I also want to avoid as much zombie process as possible and try to get nvm work well with most Docker containers.
When running under child subreaper mode, it's useful for nsenter to be able to
reap child processes. We have seen cases where spawned user processes wasnt
reaped properly (nvm-sh/nvm#650)
Signed-off-by: Daniel, Dao Quang Minh <dqminh89@gmail.com>
When
docker exec
into a Docker container withzsh
as shell,nvm.sh
would generate a dozens of zombie processes. This problem only arise when nvm is running onzsh
. There is no zombie process when running nvm withbash
.I understand that many Docker containers do not run with a proper init process, and it is inevitable that zombie process will eventually lurk out. But I also want to avoid as much zombie process as possible and try to get nvm work well with most Docker containers.
Sample command line output:
The text was updated successfully, but these errors were encountered: