How to delete a projects Docker Layer Cache

How to delete a projects Docker Layer Cache

Previously, you would have to wait for 3 days of no builds to reset the DLC Cache or remove it from your config. This is now possible via the CircleCI CLI.


Step 1

Confirm you are on version v0.1.24705 or later of the CircleCI CLI.

circleci version


Step 2

Please run the following command for the project for which you wish to delete the DLC for:

circleci project dlc purge <vcs-type> <org-name> <project-name> [flags] 


You can also delete your DLC cache via the UI

Navigate to your project on

Click Project Settings.

Navigate to Docker Layer Caching.

Click Delete Cache Contents.


Additional Resources


Was this article helpful?
1 out of 2 found this helpful



Article is closed for comments.