-
Is it possible to somehow limit the "diffdisk" size? Using lima as docker host on M1 and the size of
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
You can configure the maximum size of the Lines 38 to 40 in 2b88071 The space is mostly used for container images; you can delete old images, but the space will not be returned to the host, it will only be reused for new images. You have to delete and recreate the instance to get the disk space back. Issue #356 is about trimming the disk space (after pruning images), but it is not implemented, and I think it isn't clear if this is even possible on macOS. |
Beta Was this translation helpful? Give feedback.
You can configure the maximum size of the
diffdisk
when you create the Lima instance via thedisk
setting inlima.yaml
:lima/examples/default.yaml
Lines 38 to 40 in 2b88071
The space is mostly used for container images; you can delete old images, but the space will not be returned to the host, it will only be reused for new images. You have to delete and recreate the instance to get the disk space back.
Issue #356 is about trimming the disk space (after pruning images), but it is not implemented, and I think it isn't clear if this is even possible on macOS.