ImagePruner
The Oracle Communications Unified Assurance Image Pruner application prunes old images from the Docker registry.
You can run this application as a scheduled job using the Jobs UI.
Default Scheduled Job
The following table shows the settings for the default job. Actual values are in bold, while descriptions of values are in plaintext.
Field | Value |
---|---|
Package | assure1-app |
Name | Image Pruner |
Program | bin/ImagePruner |
Arguments | This field is blank. There is no default value. |
Description | Cleans old images from docker and registry package. |
Failover Type | Standalone (Supported: Standalone) |
Status | Enabled |
Privileged | This option is deselected. |
Minutes | 15 |
Hours | 5 |
Days | * |
Months | * |
WeekDays | 0 |
See Jobs in Unified Assurance User's Guide for general information about the settings for jobs.
Default Configuration
The following table shows the default configurations for the application. Actual values are in bold, while descriptions of values are in plaintext.
Name | Default Value | Possible Values | Notes |
---|---|---|---|
LogFile | logs/PackagePruner.log | Text, 255 characters | Relative path to Log File. |
LogLevel | ERROR | OFF, FATAL, ERROR, WARN, INFO, DEBUG | The logging level for the application. |
Limit | 2 | Integer | The number of versions of images to retain. |
Administration Details
The following list shows the technical details you will need for advanced administration of the application:
-
Package: assure1-app
-
Synopsis:
./ImagePruner [OPTIONS]
-
Options:
-c, --AppConfigID N Application Config ID (Service, Job, or Request ID) -d, --Dry-Run List images to be deleted but don't delete them -?, -h, --Help Print usage and exit
-
Threaded: Single-Threaded