Open benclmnt opened 1 year ago
As of 19 July 2023, there is a limitation if you want to mount a writable folder into a container volume.
As mentioned here, you should add the following into your /Users/<username>/.lima/_config/override.yaml:
/Users/<username>/.lima/_config/override.yaml
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
and restart colima: colima delete && colima start.
colima delete && colima start
Edit docker daemon configurations, e.g. adding insecure registries: https://github.com/abiosoft/colima/blob/main/docs/FAQ.md#how-to-customize-docker-config-eg-add-insecure-registries
As of 19 July 2023, there is a limitation if you want to mount a writable folder into a container volume.
As mentioned here, you should add the following into your
/Users/<username>/.lima/_config/override.yaml
:and restart colima:
colima delete && colima start
.