File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change 3232 - [ Containers do not automatically start after rebooting the host] ( #containers-do-not-automatically-start-after-rebooting-the-host )
3333 - [ 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 )
3434 - [ 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 )
3536
3637<!-- END doctoc generated TOC please keep comment here to allow auto update -->
3738
@@ -355,3 +356,15 @@ Run the following commands:
355356containerd-rootless-setuptool.sh uninstall
356357rootlesskit rm -rf ~ /.local/share/containerd ~ /.local/share/nerdctl ~ /.config/containerd
357358```
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