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

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

Open
jonasfj opened this issue Jun 1, 2018 · 0 comments

Comments

@jonasfj
Copy link
Contributor

jonasfj commented Jun 1, 2018

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant