docker-nexus
docker-nexus copied to clipboard
Runsvdir downside
Hi,
The usage of runsvdir is usefull to being able to restore from a backup but prevent gracefull stop of his childs processes when you try to stop the container.
The docker stop command attempts to stop a running container first by sending a SIGTERM signal to the root process (PID 1) in the container.
If runsvdir receives a TERM signal, it exits with 0 immediately (https://www.unix.com/man-page/centos/8/runsvdir/)
The aftermath of this : you can't gracefully stop nexus when you do any of this actions , because every of this commands send SIGTERM to the root process(runsvdir) :
- kubectl delete
- kubectl scale statefulset
--replicas=0 - helm delete
- docker stop
Best regards.
Hi @ajoux-accor! Thanks for reporting the issue, we will investigate possible ways to fix this.