-
Notifications
You must be signed in to change notification settings - Fork 0
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
wait-for-docker
doesn't recognize active Docker process with Docker Desktop on macOS
#12
Comments
wait-for-docker
doesn't recognize active Docker processwait-for-docker
doesn't recognize active Docker process with Docker Desktop on macOS
The cause is that the path of the One workaround is to create a symlink: sudo ln -s "$HOME/.docker/run/docker.sock" /var/run/docker.sock |
According to the release notes, this problem was already solved. Excerpts:
In my case, the problem occurred as the setting item (for |
One needs to enable "Enable default Docker socket (Requires password)" in "Advanced" section in Docker Desktop settings to make a symbolic link Ref:
https://docs.docker.com/desktop/mac/permission-requirements/ The actual <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>KeepAlive</key>
<false/>
<key>Label</key>
<string>com.docker.socket</string>
<key>ProcessType</key>
<string>Background</string>
<key>Program</key>
<string>/Library/PrivilegedHelperTools/com.docker.socket</string>
<key>ProgramArguments</key>
<array>
<string>/Library/PrivilegedHelperTools/com.docker.socket</string>
<string>/Users/[username]/.docker/run/docker.sock</string>
<string>/var/run/docker.sock</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>ServiceDescription</key>
<string>Docker ServiceDescription</string>
</dict>
</plist> |
wait-for-docker
doesn't recognize the active Docker process though it's running.To investigate, I tried running
docker.from_env()
(that is used internally inwait-for-docker
) in Python console.docker.from_env()
raised the following error:Environment
The text was updated successfully, but these errors were encountered: