Open Stokestack opened 3 months ago
Can you try running colima with macOS virtualization framework instead of qemu?
# delete existing instance
colima delete
# create new instance with vz
colima start --vm-type=vz
I have tested and it seems to work fine.
Here is a write override.yaml configuration, it seems to solve your problem.
Thanks guys. Does that mean you were able to reproduce it? I have since removed Colima and installed Orbstack, and I'd rather not mess with it further if you guys don't need me to.
However, I'm happy to help if necessary.
Can you try running colima with macOS virtualization framework instead of qemu?
# delete existing instance colima delete # create new instance with vz colima start --vm-type=vz
I have tested and it seems to work fine.
Thanks for this, but I also had to set the mountType
to virtiofs
(at least with colima start --edit
)
Can you try running colima with macOS virtualization framework instead of qemu?
# delete existing instance colima delete # create new instance with vz colima start --vm-type=vz
I have tested and it seems to work fine.
Using vz
instead of QEMU
also fixes the issue in Sequoia.
@abiosoft if vz
is obviously the standard for macOS, wouldn't it make sense to add this information to the installation documentation?
I'm still seeing this issue with vz and virtiofs:
narakaloka terraform-genius % colima status -v
INFO[0000] colima is running using macOS Virtualization.Framework
INFO[0000] arch: x86_64
INFO[0000] runtime: docker
INFO[0000] mountType: virtiofs
INFO[0000] socket: unix:///Users/nightpool/.colima/default/docker.sock
macbook pro m3
Ah, the issue was my architecture. If i'm using x86_64 with qemu, I get the error, even using vz
and virtiofs
. If I use aarch64, I don't.
EDIT: I think i misunderstood what the --arch option does. If I want to use x86_64 virtualization, then I should have arch
set to aarch64
, with Rosetta 2 virtualization, I think. This is confusing!
Description
I switched from Docker Desktop to Colima, but found I could no longer run my development environment. Specifically, I couldn't run Compose to build Supabase, because the process produced hundreds of errors like this:
supabase-db | chown: changing ownership of '/var/lib/postgresql/data': Permission denied
Version
colima version 0.6.9 git commit: c3a31ed05f5fab8b2cdbae835198e8fb1717fd0f
Operating System
Output of
colima status
INFO[0000] colima is running using QEMU
INFO[0000] arch: aarch64
INFO[0000] runtime: docker
INFO[0000] mountType: sshfs
INFO[0000] socket: unix:///Users/me/.colima/default/docker.sock
Reproduction Steps
Install with Homebrew
Go into ~/.docker/config.json and change the value for
credsStore
fromdesktop
toosxkeychain
Also addDownload Supabase
Get the code
git clone --depth 1 https://github.com/supabase/supabase
Go to the docker folder
cd supabase/docker
Copy the fake env vars cp .env.example .env
Make sure Colima is running
colima start
Pull the latest images
docker compose pull
Start the services (in detached mode)
docker compose up -d
This will fail. Now stop Colima:
colima stop
Launch Docker Desktop and retry:
docker compose up -d
Expected behaviour
The container(s) is built and runs, as it does when Docker Desktop is running.
Additional context
Interestingly, it still works with Docker Desktop running even though I left the following in ~/.docker/config.json