Docker Registry Cleaner
detail.loadingPreview
Automatically cleans up old Docker image tags in your registry.
🚀Ready to Deploy This Workflow?
About This Workflow
Docker Registry Cleaner
This workflow is designed to automate the cleanup of old Docker image tags within your Docker registry. It periodically scans your registry for images, identifies older tags that exceed a defined retention limit, and removes them, helping to manage storage space and maintain a cleaner registry.
Key Features
- Scans Docker registry for images.
- Retrieves and sorts image tags by creation date.
- Identifies tags to be removed based on a retention policy (keeps latest and up to 10 recent tags).
- Removes old tags from the registry.
- Sends email notifications for successful cleanup actions.
How To Use
- Import this workflow into your n8n instance.
- Configure the 'Generic Credential Type' for Docker registry authentication.
- Set the
BASE_URLenvironment variable to your Docker registry's API endpoint. - Configure the
toEmailandfromEmailin the 'Send Notification Email' node. - Adjust the retention logic in the 'Identify Tags to Remove' code node if needed (currently keeps latest and up to 10 recent tags).
- Schedule the workflow using the 'Scheduled Trigger' node to run at your desired interval.
Apps Used
Workflow JSON
{
"id": "87468fb1-4bee-4341-82db-23daad361ae0",
"name": "Docker Registry Cleaner",
"nodes": 0,
"category": "Registry Management",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: 87468fb1-4bee...
About the Author
DevOps_Master_X
Infrastructure Expert
Specializing in CI/CD pipelines, Docker, and Kubernetes automations.
Statistics
Verification Info
Related Workflows
Discover more workflows you might like
Docker Registry Cleaner and Metadata Generator
Automates Docker registry cleanup by removing old tags and generates structured metadata for images.
Automate Competitor Tracking with Crunchbase & ClickUp
Streamline competitor analysis by automatically fetching data from Crunchbase and creating review tasks in ClickUp. Stay informed about market changes without manual effort.
Automate Shipment Tracking with Telegram and n8n
Streamline your logistics operations by automating shipment tracking with Telegram and n8n. This workflow allows drivers to easily share updates, and ensures timely notifications to your team.
Universal CSV to JSON API Converter
Effortlessly transform CSV data into structured JSON with this versatile n8n workflow. Integrate it into any application as a custom API endpoint, supporting various input methods including file uploads and raw text.
Telegram Profanity & Toxicity Filter
This n8n workflow automatically monitors incoming Telegram messages for profanity and toxic language. It leverages Google's Perspective API to analyze message content, and if a message is deemed inappropriate, the workflow sends an automated warning response back to the sender.
Automate File & Folder Organization: Move, Copy, and Restructure with Ease
Streamline your file management processes with this n8n workflow. Automate the relocation and restructuring of files and folders, ensuring your data is always organized and accessible.