Last active
June 12, 2024 18:14
-
-
Save mortensteenrasmussen/512f0566dbc3ef1cc4a2c47dd9cdb973 to your computer and use it in GitHub Desktop.
Clean up untagged manifests in private docker registry
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This was awesome. Just a note that:
As the curl command is silent, in my case at least, the docker registry storage delete option was set to false, so the script wasn't able to delete anything.
You might want to write those logs to somewhere like /var/log/cleanupScript.log to make sure you are cleaning what you mean.
Works perfectly. Thank you so much :)