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

0 votes
Jul 9, 2019 in Docker by Daisy
46 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
• 53,090 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,370 points
699 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,530 points
538 views
0 votes
1 answer

Why do I get Connection reset by peer when making a request to a service running in a container?

Typically, this message is returned if the ...READ MORE

answered Jul 9, 2019 in Docker by Sirajul
• 53,090 points
1,389 views
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,540 points
13,876 views