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

0 votes
Jul 9, 2019 in Docker by Daisy
83 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
• 57,870 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,550 points
1,277 views
+1 vote
0 answers
+2 votes
1 answer
+2 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,640 points
762 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
• 57,870 points
1,946 views
0 votes
2 answers

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

Instead of using docker run you could ...READ MORE

answered Aug 13, 2019 in Docker by Sirajul
• 57,870 points
19,146 views