When I execute
docker-compose down. What exactly it does to stop the services?
I want to know if it
SIGINTto each container’s 0-PID process?
SIGKILLto each container’s 0-PID process?
- simply terminates the container regardless of its state?
I want to know this, because I want to write a startup.sh script that could stop the services in the container gracefully.