Skip to content
This repository was archived by the owner on Feb 27, 2020. It is now read-only.
This repository was archived by the owner on Feb 27, 2020. It is now read-only.

purge old containers / images / volumes / networks when docker-engine startup #388

@jonasfj

Description

@jonasfj

When the worker startup we should purge all old containers, images, volumes and networks that might have been left-over from previous executions, in case the worker previously crashed.

I propose we either (or both):
A) tag all resources with "owner": "taskcluster-worker" and any such tagged resources at startup.
B) make this a worker configuration option, that is disabled by default.

This would avoid us running out of disk space after a crash where resources were leaked.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions