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
I ran into a weird issue with SurfKit on my Mac and thought I'd share how I fixed it in case anyone else stumbles into the same problem.
I was trying to create a tracker using the Docker runtime in SurfKit, and kept getting this error:
After digging into it, I realized the issue was with how SurfKit was trying to connect to Docker. On macOS with Docker Desktop, the socket is in a different place than on Linux, and SurfKit wasn't handling this correctly.
Hi,
I ran into a weird issue with SurfKit on my Mac and thought I'd share how I fixed it in case anyone else stumbles into the same problem.
I was trying to create a tracker using the Docker runtime in SurfKit, and kept getting this error:
After digging into it, I realized the issue was with how SurfKit was trying to connect to Docker. On macOS with Docker Desktop, the socket is in a different place than on Linux, and SurfKit wasn't handling this correctly.
Easy fix/workaround:
Possible related to: docker/docker-py#3059
Open PR (not needed if you do the above fix)
I ended up modifying the DockerTrackerRuntime class in SurfKit. Here's the gist of what I changed:
_configure_docker_socket
method to return the full Unix socket URL. For macOS, it'sunix:///Users/<USER>/.docker/run/docker.sock
The key part of the fix looks something like this:
Log Output
The text was updated successfully, but these errors were encountered: