On colima, docker data such as containers and images in /var/lib/docker become invisible after upgrading Lima from v0.13.0 to v0.14.0
colima start docker pull hello-world colima stop brew upgrade colima start docker images
The data are not removed though, and can be rescued by downgrading Lima to v0.13.0
brew uninstall lima git clone https://github.com/lima-vm/lima.git cd lima git checkout v0.13.0 make make install
Apparently the issue seems specific to colima, and not reproducible with the vanilla Lima templates.
Tested the default template (nerdctl pull hello-world) and alpine template (sudo touch /var/lib/foo, as the vanilla alpine template does not contain container runtime).
Originally reported in abiosoft/colima#506
Thanks to @rpkoller and @rfay for reporting.