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

Add INCLUDE_IN_GC to operate on selected images only #160

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fabriziodemaria
Copy link
Member

If there is a file /etc/docker-gc-include (or some other file pointed by INCLUDE_IN_GC), and the file is not empty, then docker-gc will apply an additional filter on top of EXCLUDE_FROM_GC so that only the Docker images whose name matches any entry in the afore-mentioned file will be taken in consideration for the clean-up operation.

TODO:

  • Update README

Copy link
Member

@mattnworb mattnworb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

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

Successfully merging this pull request may close these issues.

2 participants