Project

General

Profile

Actions

Bug #3793

closed

[Crunch] Docker containers not removed consistently, filling disk

Added by Brett Smith over 9 years ago. Updated almost 9 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Crunch
Target version:
Story points:
1.0

Description

When we start Docker containers for jobs, we pass the --rm=true option to Docker, which should remove the container image after it runs. Unfortunately, Docker does not consistently remove the container image. Over time, more and more will accumulate, until Docker's storage partition is full.

We haven't figured out any rhyme or reason to what containers aren't removed yet. It happens across several different images, and it happens to containers whether they finish successfully (exit status 0) or not.

We need to decide on and implement additional container clean-up strategies—either as a complement or replacement to --rm=true.

There's a new option that is not in a released version that we should explore (force-rm). It should go into Docker 1.2.1


Subtasks 5 (0 open5 closed)

Task #6003: Review arvados-dev branch 3793-docker-cleaner-wipResolvedWard Vandewege05/12/2015Actions
Task #5857: Review 3793-clean-docker-images-wipResolvedPeter Amstutz04/30/2015Actions
Task #5996: Test Docker image cleaner in run-tests.shResolvedBrett Smith05/11/2015Actions
Task #5997: Deploy Docker image cleaner via PuppetResolvedBrett Smith05/11/2015Actions
Task #6056: Review puppet branch 3793-docker-image-cleaner-wipResolvedWard Vandewege05/18/2015Actions
Actions

Also available in: Atom PDF