Tags

11g (3) 12c (4) 18c (2) 19c (3) ASM (3) Critical Patch (13) Dataguard (10) GRID (3) GitLab (2) Linux (11) OEM (2) ORA Errors (16) Oracle (20) RMAN (5)

Tuesday, April 19, 2022

Run registry garbage collection

Run registry garbage collection


PURPOSE: All documents are provided on this Blog just for educational purposes only.  Please make sure that you run it in your test environment before to move on to production environment. 


Garbage collection is the process of removing blobs from the File System when they are no longer referenced by a manifest.

# Create a config.yml file as follow. 

cd /etc/docker/registry

vi config.yml

version: 0.1
storage:
  filesystem:

    rootdirectory: /storage/registry



# Sample output from a dry run

docker exec -it registry bin/registry garbage-collect --dry-run /etc/docker/registry/config.yml

# Now you can remove items those are eligible for deletion. 

docker exec -it registry bin/registry garbage-collect --delete-untagged /etc/docker/registry/config.yml


Your comments are most valuable and it would help me to come up with better posts. 

No comments:

Post a Comment

Critical Patch 19c April 2026

    Oracle Critical Patch Update on 19c - April 2026 GI RU Combo: Patch 39062956 - Combo of OJVM Component Release Update 19.31.0.0.260421 +...