Open romikforest opened 9 months ago
I have the same issue, but with mounting a volume for postgres.
I'm also running into this error on Sonoma 14.2 with postgres. Looks like a continuation of the issue #83 .
I tried the two most up to date solutions for where to put override.yaml
:
/Users/<username>/.colima/_config/
chown: operation not permitted
error./Users/<username>/.colima/_lima/_config/
[hostagent] Waiting for the essential requirement 1 of 2: "ssh"
Versions: runtime: docker arch: x86_64 colima: 0.6.7 limactl: 0.19.1
Same issue for me when trying to get postgres running tried similar to @arilence
I was able to get it working as mentioned https://github.com/abiosoft/colima/issues/83#issuecomment-1893060414
You have to delete the overrider.yaml file if defined at /Users/<username>/.lima/_config
else colima won't boot then define at the /Users/<username>/.colima/_lima/_config
path
Description
Hi. I've just updated my MacOS to Sonoma and updated and upgraded brew. I had a vm created using file /Users//.lima/_config/override.yaml:
like
colima start --mount-type 9p
After update I can't run containers, they complain that" and "~" locations, so only "/Users/" remains. Any way it ignores options for 9p. When I restart vm again with
chown
operation not permitted. Deleting the vm and creating from scratch doesn't help. I figured out that nowcolima start --mount-type 9p
ignores override.yaml for some reason. So I tried to edit options with vim usingcolima start --edit
. I set the mountType: 9p and mounts. It doesn't accept both "/Users/colima start --edit
I see only:So I unable to set securityModel: mapped-xattr and run containers properly.
How is it supposed to set up colima now in order to allow containers that run process not as root to work with mounted volumes?
Thank you in advance.
Version
colima version 0.6.7 git commit: ba1be00e9aec47f2c1ffdacfb7e428e465f0b58a
runtime: docker arch: x86_64 client: v24.0.7 server: v24.0.7 limactl version 0.19.1 qemu-img version 8.2.0 Copyright (c) 2003-2023 Fabrice Bellard and the QEMU Project developers
Operating System
Output of
colima status
INFO[0000] colima is running using QEMU INFO[0000] arch: x86_64 INFO[0000] runtime: docker INFO[0000] mountType: 9p INFO[0000] socket: unix:///Users/21370766/.colima/default/docker.sock
Reproduction Steps
colima start --edit
.Expected behaviour
Processes in docker containers can make chown and chmod and use mounted volumes.
Additional context
No response