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 app.circleci.com
Click Project Settings
.
Navigate to Docker Layer Caching
.
Click Delete Cache Contents
.
Additional Resources
https://circleci-public.github.io/circleci-cli/circleci_project_dlc_purge.html
Comments
Article is closed for comments.