sven-lange-last opened a new pull request #2870: Remove broken containers if 
docker run fails
URL: https://github.com/apache/incubator-openwhisk/pull/2870
 
 
   If `docker run` fails with exit code 125 and prints a valid container ID to 
stdout, a broken Docker container was left behind. This PR detects the 
described situation and immediately removes the broken container to save disk 
space. In addition, the Docker daemon seems to slow down with the number of 
containers, so cleaning up broken containers can also have a positive 
performance impact.
   
   The main root cause for broken containers is a failure when extracting the 
container's file system - for example, due to missing disk space or exhausted 
inodes. This PR does fully resolve low disk space or exhausted inodes but it 
can help relax such situations. For example, if a container with a very large 
file system cannot be created, cleaning it up may enable the creation of a 
smaller container.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to