Gracefully Stop a Container With a Lengthy Shutdown Sequence
When you docker stop a container, Docker sends a termination signal (defaults to SIGTERM) to the main process and waits for it to exit.
If the process doesn't exit within a certain timeout, Docker sends a follow-up SIGKILL signal to forcefully terminate it.
In this challenge, a container named slow-app-1 is running an application
that handles SIGTERM gracefully but takes a relatively long time to complete its shutdown sequence.
Your task is to stop the container so that it exits cleanly with exit code 0.
Sounds too simple? Beware, running docker stop slow-app-1 won't cut it -
the container will be killed before its shutdown sequence completes.
Hint: Exploring docker stop options
The docker stop command has a flag that controls how long Docker waits
before sending SIGKILL. Check docker stop --help to find it.