Captuing below steps to get colima to work with docker runtime nicely, including setup for volume to mount for databases.
-
Install colima
brew install colima -
Create an override YAML file
vim /Users/<username>/.colima/_lima/_config/override.yaml -
Replace content with below
mountType: 9p
mounts:
- location: "/Users/<username>"
writable: true
9p:
securityModel: mapped-xattr
cache: mmap
- location: "~"
writable: true
9p:
securityModel: mapped-xattr
cache: mmap
- location: /tmp/colima
writable: true
9p:
securityModel: mapped-xattr
cache: mmap
-
Clear up settings if colima was running before
colima delete -
Start colima with the mount
colima start --mount-type 9p