-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[Bug]: DOCKER_HOST unix:///var/run/docker.sock is not listening #6165
Comments
Can you try the following commands?
|
Thanks a lot @gesellix Those commands helped a lot 👍 |
I'm curious, can you tell a bit more what the issue was? |
@gesellix Turn out that my docker.sock located not in the |
Thanks @sergeda. So this looks indeed like the issues at #6076 and docker/for-mac#6529. |
Module
Core
Testcontainers version
1.17.5
Using the latest Testcontainers version?
Yes
Host OS
Linux
Host Arch
x86
Docker version
What happened?
I'm getting this error
DOCKER_HOST unix:///var/run/docker.sock is not listening
whenever I try to run the tests. I can run normal docker commands likedocker ps
anddocker-compose up
without any issue. I also checked /var/run/docker.sock and it exists:Relevant log output
2022-11-11T13:13:16.828GMT+02:00 INFO o.t.d.DockerClientProviderStrategy Loaded org.testcontainers.dockerclient.UnixSocketClientProviderStrategy from ~/.testcontainers.properties, will try it first 2022-11-11T13:13:16.856GMT+02:00 WARN o.t.d.DockerClientProviderStrategy DOCKER_HOST unix:///var/run/docker.sock is not listening 2022-11-11T13:13:16.863GMT+02:00 INFO o.t.d.DockerMachineClientProviderStrategy docker-machine executable was not found on PATH ([/home/serg/.sdkman/candidates/scala/current/bin, /home/serg/.sdkman/candidates/sbt/current/bin, /home/serg/.sdkman/candidates/java/current/bin, /home/serg/anaconda3/bin, /home/serg/anaconda3/condabin, /home/serg/.cargo/bin, /usr/local/sbin, /usr/local/bin, /usr/sbin, /usr/bin, /sbin, /bin, /usr/games, /usr/local/games, /snap/bin, /home/serg/.local/bin, /home/serg/cqlsh-6.8.5/bin, /home/serg/app/terraform, /home/serg/app/Obsidian, /home/serg/app/deadbeef-1.8.7, /home/serg/app, /home/serg/.cache/scalacli/local-repo/bin/scala-cli, /home/serg/docker_compose]) 2022-11-11T13:13:16.864GMT+02:00 ERROR o.t.d.DockerClientProviderStrategy Could not find a valid Docker environment. Please check configuration. Attempted configurations were: As no valid configuration was found, execution cannot continue.
Additional Information
No response
The text was updated successfully, but these errors were encountered: