This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
dagger/docs/guides/1227-empty-buildkit-cache.md
guillaume 700bd2f2aa docs: guide - empty buildkit cache doc
Signed-off-by: guillaume <guillaume.derouville@gmail.com>
2022-04-14 15:35:15 +02:00

494 B

slug displayed_sidebar
/1227/empty-buildkit-cache europa

How to empty BuildKit's cache ?

There are two ways of emptying the BuildKit cache:

  • Run your action with the --no-cache option:
dagger do <your-action> --no-cache
  • Stop and remove the buildkitd container and remove its associated volume:
docker stop dagger-buildkitd ; docker rm dagger-buildkitd ; docker volume rm dagger-buildkitd

In 99.9% of the cases, the first solution is enough