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
fix: Use Docker SDK to configure port binding (#526)
#### Summary
While testing cloudquery/cloudquery#21179 I noticed syncing with docker plugins stopped working (even before cloudquery/cloudquery#21179).
Looks like the host port is not mapped correctly (probably due to changes with recent docker engines), so the CLI can't connect to the plugin gRPC server.
This PR fixes the issue by using the Docker SDK to get the port binding from a string value, ensuring the mapping is done correctly (hopefully for future versions as well)
---
return"", errors.New("container exited prematurely with error "+containerJSON.State.Error+", exit code "+strconv.Itoa(containerJSON.State.ExitCode) +" and status "+containerJSON.State.Status)
0 commit comments