When I execute docker-compose down. What exactly it does to stop the services?
I want to know if it
- sends
SIGINTto each container’s 0-PID process? - sends
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.