From 892ab3c78484a68538e16ddfbc4d394bbb868229 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emmanuel=20Fr=C3=A9con?= Date: Fri, 5 Apr 2024 14:15:57 +0200 Subject: [PATCH] Add dev note for image cleanup --- CONTRIBUTING.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1e32e11..88fc951 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -67,3 +67,12 @@ Instead, pass `-D /local` to the [`runner.sh`](./runner.sh) script. This will mount the [`runner`](./runner/) directory into the microVM at `/local` and run the scripts that it contains from there instead. Which "entrypoint" to use is driven by the `RUNNER_ENTRYPOINT` variable in [`runner.sh`](./runner.sh). + +## Cleanup + +During development, many images might be created. To clean them away, you can +run the following: + +```bash +buildah rmi $(buildah images --format '{{.ID}}') +```