You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Could not find Docker environment on macOS 12.6 with Docker For Mac #6044
I'm setting up a new Apple Macbook for development. I've installed the latest version of Docker for Mac. After that I've tried to run a maven build of a Java application using testcontainers. The build is failing because testcontainers cannot find the docker environment. It's likely a user error from my side but I couldn't figure out what is missing exactly. I'm able to interact with docker from command line.
Any help is appreciated. Thank you.
Relevant log output
INFO org.testcontainers.dockerclient.DockerMachineClientProviderStrategy 2022-10-20T15:49:37.923+0000 [build=hack.dev.0] [main] [requestId=] [messageGroupId=] [/] - docker-machine executable was not found on PATH ([/Users/Martin_Tarjanyi/.jenv/shims, /Users/Martin_Tarjanyi/.jenv/bin, /opt/homebrew/bin, /opt/homebrew/sbin, /usr/local/bin, /usr/bin, /bin, /usr/sbin, /sbin])
ERROR org.testcontainers.dockerclient.DockerClientProviderStrategy 2022-10-20T15:49:37.923+0000 [build=hack.dev.0] [main] [requestId=] [messageGroupId=] [/] - Could not find a valid Docker environment. Please check configuration. Attempted configurations were:
UnixSocketClientProviderStrategy: failed with exception InvalidConfigurationException (Could not find unix domain socket). Root cause NoSuchFileException (/var/run/docker.sock)As no valid configuration was found, execution cannot continue.
changed the title [-][Bug]: Cold not find Docker environment on macOS 12.6 with Docker For Mac[/-][+][Bug]: Could not find Docker environment on macOS 12.6 with Docker For Mac[/+]on Oct 20, 2022
Activity
[-][Bug]: Cold not find Docker environment on macOS 12.6 with Docker For Mac[/-][+][Bug]: Could not find Docker environment on macOS 12.6 with Docker For Mac[/+]