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
[Docker Desktop for Mac] ERROR ==> connect ENOENT /var/run/docker.sock #3533
Comments
Same error is popping out for me. However everything worked just fine BEFORE update to 13.2.1 version of MacOS. I see that @Bahlaouane-Hamza has the same version of OS, so that might be a clue. I've tried updating Lando to the latest version (v3.14.0) but that does not fix the error. |
I'm having the same issue on my OS (v13.2.1) |
As far as I can tell, the OSX upgrade scrubbed the /var/run/ directory, so /var/run/docker.sock was missing.
|
I can verify after pointing to the correct location for docker.sock, everything appears fine |
A note: I had to perform this again after a system restart. |
this fixed it for me |
@Zakini looks to be the preferred solution 👍 |
@Zakini's answer worked for me. 😊 |
This fixed the issue for me, and I am already using 13.5 |
I had this issue today after a reboot that installed a Mac update. I already had the @Zakini solution enabled months ago. My solution was to toggle "Allow privileged port mapping (requires password)", it was enabled but toggling on/off fixed ERROR ==> connect ENOENT /var/run/docker.sock. 👍 |
this worked for me !! |
fyi |
Can confirm that this fixed my issue after upgrading to Mac Sonoma. |
Still experiencing this issue. I did all the available solutions on the internet. None of them worked. Docker version 4.24.2. Apple Mac M1 Pro. Macos Sonoma |
I would suggest you download the old version of the docker desktop, the latest version does not work well with Lando. here is a version that worked for me 4.20.0 |
Thank you !!!!!! |
This still appears to be happening after every restart for me. |
Same here... @michaelrobbe solution works, but needs to be run after each restart. |
Thanks to @Zakini because I had the same issue running dockers 4.23.0. I upgraded to 4.26.0 and the issue remained. FYI, this happened after I upgraded mac to the latest version. THIS WORKED I just needed to toggle the "Enable default Docker socket" checkbox in the settings to get this back. |
Summary
This issue is for reference and documentation purposes only. not sure if it's a bug
After installing lando with Docker Desktop for Mac and running
$ lando init \ --source cwd \ --recipe lamp \ --webroot . \ --name hello-lando
I get the following error
System
My attempts to fix the error...
docker.sock
$ docker --config Options: --config string Location of client config files (default "/Users/user/.docker")
Socket path is
/Users/user/.docker/run/docker.sock
($HOME/.docker/run/docker.sock
)configSources
Open one of the config files (i chose the last one
/Users/user/.lando/config.yml
) and add the followingFor host and port, make sure to verify they are the same as shown in
The text was updated successfully, but these errors were encountered: