FerryDocs
ArchitectureDeploy pipeline

Clean up

After each deploy, the engine deletes the old images, uploads and build folders of the service.

Edit on GitHub
Older images5 newest images--keep-imagesLive imageOld uploadsBuild foldersscratch

After each deploy, the engine keeps the newest images of the service: 5 by default (--keep-images).

1 / 3

What the engine never deletes

  • The of the live deploy.
  • The images of the active deploys.
  • A public image that it pulled. It deletes only the tags that this server built or pinned.

The effect on rollbacks

A rollback can use only a deploy whose image still exists. To keep more images, start ferryd with a higher --keep-images.

On this page