Skip to content

Limit "diffdisk" size #828

Answered by jandubois
Mrazator asked this question in Q&A
Apr 28, 2022 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

You can configure the maximum size of the diffdisk when you create the Lima instance via the disk setting in lima.yaml:

# Disk size
# 🟢 Builtin default: "100GiB"
disk: null

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.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@afbjorklund
Comment options

@afbjorklund
Comment options

Answer selected by Mrazator
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants