Project

General

Profile

Actions

Idea #9579

closed

[Crunch] Docker cleaner --quota switch supports percentage values

Added by Brett Smith over 9 years ago. Updated about 6 years ago.

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 #1

Updated by Tom Morris over 9 years ago

  • Assigned To changed from Brett Smith to Tom Morris
Actions #2

Updated by Tom Morris almost 9 years ago

  • Assigned To deleted (Tom Morris)
Actions #3

Updated by Peter Amstutz about 6 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF