Skip to content

Instantly share code, notes, and snippets.

@eagafonov
Created December 5, 2017 14:06
Show Gist options
  • Save eagafonov/8bd32a84ac64771f14147266ccf6f317 to your computer and use it in GitHub Desktop.
Save eagafonov/8bd32a84ac64771f14147266ccf6f317 to your computer and use it in GitHub Desktop.
How to cleanup Gitlab's Registry

Omnibus Gitlab

  1. Dry run
/opt/gitlab/embedded/bin/registry garbage-collect /var/opt/gitlab/registry/config.yml --dry-run
  1. Do clean up
/opt/gitlab/embedded/bin/registry garbage-collect /var/opt/gitlab/registry/config.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment