AcademyWorkflowsOperations

Docker Registry Cleanup Workflow

Operations and DevOps teams that manage container images and want old tags removed on a schedule.

  • Recommendedour rating
  • 3,221views on n8n
Open on n8n.io ↗

Paste it straight onto an n8n canvas with Ctrl+V or Cmd+V.

docker-registry-cleanup-workflow.json

Loading the file...

What it does

An n8n workflow that lists the images in a Docker registry through its v2 API, keeps the most recent tags of each image and deletes the older ones. It can then run garbage collection over SSH and send an email with the result, or with any failure.

Use cases

  1. 01Removing old image tags on a schedule
  2. 02Running registry garbage collection after a cleanup
  3. 03Emailing the team when a cleanup run fails

Connects

Send Email · HTTP Request · Code

Questions about
Docker Registry Cleanup Workflow.

What is Docker Registry Cleanup Workflow used for?

Operations and DevOps teams that manage container images and want old tags removed on a schedule. An n8n workflow that lists the images in a Docker registry through its v2 API, keeps the most recent tags of each image and deletes the older ones. It can then run garbage collection over SSH and send an email with the result, or with any failure.

How do I import Docker Registry Cleanup Workflow into n8n?

Copy the workflow JSON from this page and paste it onto the n8n canvas with Ctrl+V or Cmd+V. Then connect your credentials in each node.

Is Docker Registry Cleanup Workflow safe to use?

It passed our automatic scan for credential theft, hidden instructions and risky install commands. Third party open source software. Sabemos AI does not maintain it. Check the code and permissions before you connect it to company data.