// Module included in the following assemblies: // // * disconnected/mirroring/about-installing-oc-mirror-v2.adoc :_mod-docs-content-type: PROCEDURE [id="oc-mirror-v2-procedure-garbage-collector_{context}"] = Resolving storage cleanup issues in the distribution registry A known issue in the distribution registry prevents the garbage collector from freeing up storage as expected. This issue does not occur when you use {quay}. .Procedure * Choose the appropriate method to work around the known issue in the distribution registry: ** To restart the container registry, run the following command: + [source,terminal] ---- $ podman restart ---- ** To disable caching in the registry configuration, perform the following steps: ... To disable the `blobdescriptor` cache, modify the `/etc/docker/registry/config.yml` file: + [source,yaml] ---- version: 0.1 log: fields: service: registry storage: cache: blobdescriptor: "" filesystem: rootdirectory: /var/lib/registry http: addr: :5000 headers: X-Content-Type-Options: [nosniff] health: storagedriver: enabled: true interval: 10s threshold: 3 ---- ... To apply the changes, restart the container registry by running the following command: + [source,terminal] ---- $ podman restart ----