File tree 1 file changed +13
-0
lines changed
1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change 32
32
- [ Containers do not automatically start after rebooting the host] ( #containers-do-not-automatically-start-after-rebooting-the-host )
33
33
- [ Error ` failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: unable to apply cgroup configuration: unable to start unit ... {Name:Slice Value:"user.slice"} {Name:Delegate Value:true} ... Permission denied: unknown ` ] ( #error-failed-to-create-shim-task-oci-runtime-create-failed-runc-create-failed-unable-to-start-container-process-unable-to-apply-cgroup-configuration-unable-to-start-unit--nameslice-valueuserslice-namedelegate-valuetrue--permission-denied-unknown )
34
34
- [ How to uninstall ? / Can't remove ` ~/.local/share/containerd ` ] ( #how-to-uninstall---cant-remove-localsharecontainerd )
35
+ - [ How to clean a dangling cache of buildkit?] ( #how-to-clean-a-dangling-cache-of-buildkit )
35
36
36
37
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
37
38
@@ -355,3 +356,15 @@ Run the following commands:
355
356
containerd-rootless-setuptool.sh uninstall
356
357
rootlesskit rm -rf ~ /.local/share/containerd ~ /.local/share/nerdctl ~ /.config/containerd
357
358
```
359
+
360
+ ### How to clean a dangling cache of buildkit?
361
+
362
+ `buildkit` cache directory is located at `$HOME/.local/share/buildkit/`
363
+ in rootless mode, which has same folder structure `/var/lib/buildkit/` in
364
+ root mode.
365
+
366
+ You can clear the cache objects by running the following command:
367
+ ```
368
+ nerdctl builder prune
369
+ ```
370
+ The command produce a progress message of id and size of removed objects.
You can’t perform that action at this time.
0 commit comments