Tags

11g (5) 12c (6) 18c (3) 19c (4) ASM (1) Critical Patch (11) Data Pump (1) Dataguard (9) Diverse (3) GRID (7) GitLab (2) Linux (8) OEM (2) ORA Errors (13) Oracle (12) RMAN (4)
Showing posts with label Run registry garbage collection. Show all posts
Showing posts with label Run registry garbage collection. Show all posts

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. 

physical standby without duplicate command

physical standby without duplicate command create a physical standby database using RMAN without using duplicate command PURPOSE:   All docu...