-
-
Notifications
You must be signed in to change notification settings - Fork 205
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
No Docker client strategy found on mac m1 #407
Comments
Hi @Tenshock, by default I'd expect the Docker daemon to create the socket |
I’d expect it as well, I will reset to factory my docker desktop configuration, uninstall all docker related stuff (docker and cask docker) and I will reinstall it to see if I have the same behavior did you installed docker desktop? And if so, through brew or with the official dmg from docker website? |
Thanks @Tenshock, please let me know how it goes. I installed Docker Desktop through the website https://docs.docker.com/desktop/install/mac-install/ (Mac with Apple Chip) |
I uninstalled everything (I uninstalled from the docker desktop application first then from brew cli), the deamon was successfully deleted. I reinstalled only docker desktop from the website, with the same deamon ( |
It appears like it's a problem with docker, not testcontainers. You can close this thread so, I will finish to debug by my own or in a proper place :) Thanks for your reactivity |
FYI and for maybe next readers with same problem: I had to create the symlink by hand ( I don't know why it was not created automatically, I'll try to troubleshoot it later |
Interesting, the socket was in your home dir instead of available for everyone. Maybe it was an option in the installation to install only for your user? |
Maybe, after reading all setups configurations, I did not found any configuration to setup this … Apparently, it is an issue, following this issue: docker/for-mac#6529
I set the DOCKER_HOST environment variable to But it's an additional step, I will follow this issue Which version of Docker Desktop do you use? |
Just as a note, the same problem exists with Docker Desktop on Linux, and the
|
How odd. Have you tried setting the
|
yes @itsravenous I did and its just the same. :/ |
I haven't used Rancher Desktop, but as mentioned above, Docker desktop restored the previous location of the docker socket in 14.13.1. If you're not on the latest version of Rancher desktop, perhaps upgrading will help? Otherwise I'd suggest asking in the Rancher Desktop community for help. |
ok @itsravenous thank you I think I found the issue, the symlink was actually not right. The right path of RD's socket is in Im not sure what's the |
That sounds about right! Glad you got it sorted 😁 |
Looks like they realized the missing socket broke "all the things", so the socket systemlink has been added back in on docker desktop for Mac, but sadly not for linux. Docker tooling like this will need a solution for handling the case where only the userspace socket exists and not |
Follow-up for everyone that's using Colima instead of Docker-Desktop due to licensing issues: We have to create a symlink as indicated in other comments above: sudo ln -sf /Users/${USER}/.colima/docker.sock /var/run/docker.sock; |
Expected Behaviour
when launching tests from elastic search module file, I expect the tests to pass
Actual Behaviour
When launching tests, I have the following error:
Testcontainer Logs
Steps to Reproduce
[email protected]:Tenshock/testcontainers.git
yarn
yarn test
Environment Information
Docker version 20.10.20, build 9fdeb9c
(Installed frombrew install --cask docker
)The text was updated successfully, but these errors were encountered: