Why do my services take 10 seconds to recreate or stop

0 votes
Jul 9, 2019 in Docker by Daisy
834 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
• 59,230 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,700 points
2,740 views
+1 vote
0 answers

Not able to access the nginx container from IE or Chrome but from host service I can do curl http://localhost:port number

Not able to access the nginx container ...READ MORE

Aug 13, 2019 in Docker by anonymous
1,726 views
+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
• 58,090 points
2,435 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 10, 2019 in Docker by Sirajul
• 59,230 points
4,056 views
+1 vote
2 answers

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

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

answered Aug 28, 2018 in Docker by Damon Salvatore
• 5,980 points
28,148 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP