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

0 votes
Jul 9 in Docker by Daisy
12 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 by Sirajul
• 5,960 points

Related Questions In Docker

0 votes
1 answer
0 votes
1 answer

How do I pass environment variables to Docker containers?

You can pass environment variables to your ...READ MORE

answered Jul 20, 2018 in Docker by Kalgi
• 37,320 points
46 views
0 votes
2 answers

Why is docker image eating up my disk space that is not used by docker

Move the /var/llib/docker directory. Assuming the /root directory has enough ...READ MORE

answered Aug 6, 2018 in Docker by Nilesh
• 6,900 points
107 views
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
• 56,160 points
99 views
0 votes
1 answer
0 votes
1 answer