Block 1 - Fetch Manifest Digest
- Type / Role
- n8n-nodes-base.httpRequest - httpRequest
- Config choices
- Version 2
This workflow is provided as-is. Please review and test before using in production.
Docker Registry Cleanup Template This template is designed to automatically clean up old image tags in the Docker registry and perform garbage collection. Features List all images in the registry P...
n8n-nodes-base.httprequest, n8n-nodes-base.code, n8n-nodes-base.scheduletrigger, n8n-nodes-base.emailsend, n8n-nodes-base.splitout, n8n-nodes-base.filter, n8n-nodes-base.set, n8n-nodes-base.sort
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Muzaffer AKYIL.
Original n8n.io sourceThis template is designed to automatically clean up old image tags in the Docker registry and perform garbage collection.
Add the following credentials in n8n:
Replace your-registry-url with your actual registry URL on all nodes:
‘url": ‘https://your.registry.com/v2/_catalog’.
Set the number of tags to be retained by changing the slice(0, 10) value in the Identify Tags to Remove node
Change the frequency of operation at the Trigger node
Customise email templates according to your needs
Check DELETE operations before running in a test environment
Make sure that the registry is not in read-only mode
The registry may need to be put into maintenance mode for garbage collection
In summary, this n8n template provides a robust and automated solution for managing and cleaning up Docker registries. By regularly running this workflow, users can ensure that their registry remains organized and efficient, and avoid running out of storage space.-
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
| Workflow | Docker registry cleanup workflow |
|---|---|
| Complexity | advanced |
| Nodes | 16 |
| Categories | DevOps |
| Author | Muzaffer AKYIL |
| Published | 01 Feb 2025 |
Use the JSON export at /data/workflows/2835/2835.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
Docker Registry Cleanup Template This template is designed to automatically clean up old image tags in the Docker registry and perform garbage collection. Features List all images in the registry P...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your DevOps use case.