How to delete a project's 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 immediately 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 app.circleci.com
Click Project Settings.
Navigate to Docker Layer Caching.
Click Delete Cache Contents.
Additional Resources
Comments
Article is closed for comments.