Back to ITRS Analytics FAQ

How do I purge old unused images in ITRS Analytics?

Old ITRS Analytics images may accumulate on disk after upgrades. Unused images can consume space and appear as vulnerabilities in security scans. Before removing anything, confirm the target image is not used by your current ITRS Analytics version.

Procedure Copied

  1. Locate the old image or package you want to remove. For example, to find an unused Java package:

    find / -name 'java-21-openjdk-21.0.6.0.7-1.el9.x86_64'
    
  2. List container images and confirm older versions are still present:

    k0s ctr i ls | grep obcerv | cut -d' ' -f1
    
  3. Prune unused images:

    k0s ctr i prune --all
    
  4. Verify removal by re-running the checks from steps 1 and 2.

    The find command should return no results, and k0s ctr i ls should show only images for your current ITRS Analytics version.

["Geneos"] ["FAQ"]

Was this topic helpful?