I’m running docker through colima and my total images size hit ~10GBs. I need to increase this size in order to continue.
Is there a way to define this somewhere in colima?
I’m running docker through colima and my total images size hit ~10GBs. I need to increase this size in order to continue.
Is there a way to define this somewhere in colima?
2
Answers
I had the same issue and it is possible to customise Colima VMs CPU, Memory (GB) and Disk (GiB):
But it is weird because the documentation states:
Colima – Customizing the VM
The default VM created by Colima has 2 CPUs, 2GiB memory and 60GiB storage.
The VM can be customized either by passing additional flags to colima start. e.g. –cpu, –memory, –disk, –runtime. Or by editing the config file with colima start –edit.
NOTE:
disk size cannot be changed after the VM is created.From v0.5.3, disk size can be increasedCustomization Examples
create VM with 1CPU, 2GiB memory and 10GiB storage.
modify an existing VM to 4CPUs and 8GiB memory.
resize storage to 100 GB.
Reference
https://stackoverflow.com/a/74402260/9345651 by @Carlos Cavero
https://github.com/abiosoft/colima#customizing-the-vm
https://github.com/abiosoft/colima/blob/main/docs/FAQ.md