New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Default instance with a launchagent created by start-at-login
isn't available after startup
#2252
Comments
The I guess is something going wrong with the VM itself at startup. You can try to debug ddev docker with command: # Output contextual details for the Docker provider
ddev debug dockercheck |
There are logs files under |
it wasn't a ddev related problem, as i've shown in the second example in the issue summary i've also tried to directly run a docker command and no docker provider was available there neither:
and ddev isn't requiring colima, it is just still the recommended provider for macos. i've moved to using lima a few months ago instead of colima (since as you say colima is using lima under the hood anyway).
while
According to
but yesterday on first start after setting up the login item as well as after shutting down and restarting aside the vm running docker was not available (not available when trying to run a ddev command as well as trying to run a docker command). and without changing anything docker is available after todays autostart. |
i "think" i know now what the problem was/is. today i've got the following output right after i've logged in starting up the computer:
that was odd and unexpected. so i went brushing my teeth to give it some more time, and after returning about 5 to 10 minutes later i ran the command another time:
now lima is shown as running and also docker was available. so it looks like and i "suppose" also on my previous attemps lima was actually properly started. but i "assume" like today it was just not completely ready yet finishing the startup process. might be the only problem that by creating a login item you have no feedback if lima has already completely successfully started up since the usual output on |
Yes Lima takes a little while to start up so I suggest to fuggedaboutit. |
Description
Yesterday I've tried the new start at login feature that got in with
0.21.0
. Before i've shut down my computer yesterday I've used:`$> limactl start-at-login default
INFO[0000] The autostart file "/Users/rkoller/Library/LaunchAgents/io.lima-vm.autostart.default.plist" has been created or updated
When I've started my computer today and I tried to directly start a project in DDEV a framework for local development environments in docker i got:
When I checked if the lima instance is running:
My default instance was shown as running. I then did a
limactl stop
directly followed by alimactl start
and now docker was available to ddev. And if go into the macos system settings the lima login item is listed:When clicking the
ì
icon that opens up a finder window:I've then retested, shut down my computer another time and started it up again. After that instead of trying to run a ddev command i tested with a plain docker command:
and again with
limactl list
the instance was shown as runningFor the context i am on a M1pro running macOS Sonoma 14.4 and limactl version 0.21.0 (using the docker template with vz and virtiofs). if you need more informations please let me know.
The text was updated successfully, but these errors were encountered: