Actions
Idea #9579
closed[Crunch] Docker cleaner --quota switch supports percentage values
Status:
Closed
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
-
Start date:
07/12/2016
Due date:
Story points:
-
Description
Docker Cleaner's --quota switch supports arguments in the format N%, where N is a number between 0 and 100, inclusive. When the quota value is a percentage, Docker Cleaner uses Docker's info API to determine the amount of space available to images. This is the "Data Space Total" value output of docker info. It then calculates the quota as the specified percentage of that total.
For example, if Docker Cleaner is run with --quota 5%, and Docker's Data Space Total is 300GB, the effective quota should be 15GB.
Actions