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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions