Why do my services take 10 seconds to recreate or stop?

0 votes
Jul 9, 2019 in Docker by Daisy
37 views

1 answer to this question.

0 votes

Docker compose stop attempts to stop a container by sending a SIGTERM. It then waits for a default timeout of 10 seconds
After the timeout, a SIGKILL is sent to the container to forcefully kill it. If you are waiting for this timeout, it means that your containers aren’t shutting down when they receive the SIGTERM signal.

answered Jul 9, 2019 by Sirajul
• 46,730 points

Related Questions In Docker

0 votes
1 answer
0 votes
1 answer

How do I connect to my docker VM from windows shell?

You can run a container with full ...READ MORE

answered Sep 5, 2018 in Docker by Tyrion anex
• 8,330 points
132 views
+1 vote
0 answers
0 votes
1 answer
0 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 57,510 points
336 views
0 votes
1 answer
0 votes
1 answer

How do I copy a file from docker container to host?

Here is a way which you can ...READ MORE

answered Aug 27, 2018 in Docker by Damon Salvatore
• 5,520 points
6,092 views