Skip to content

fix: Use Docker SDK to configure port binding#526

Merged
kodiakhq[bot] merged 4 commits intomainfrom
fix/docker_port_binding
Jul 30, 2025
Merged

fix: Use Docker SDK to configure port binding#526
kodiakhq[bot] merged 4 commits intomainfrom
fix/docker_port_binding

Conversation

@erezrokah
Copy link
Copy Markdown
Member

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)


Use the following steps to ensure your PR is ready to be reviewed

  • Read the contribution guidelines 🧑‍🎓
  • Run go fmt ./... to format your code 🖊
  • Lint your changes via golangci-lint run 🚨 (install golangci-lint here)
  • Update or add tests 🧪
  • Ensure the status checks below are successful ✅

@erezrokah erezrokah requested a review from murarustefaan July 30, 2025 15:33
@github-actions github-actions bot added the fix label Jul 30, 2025
@erezrokah erezrokah added the automerge Add to automerge PRs once requirements are met label Jul 30, 2025
@erezrokah erezrokah requested a review from disq July 30, 2025 15:34
@kodiakhq kodiakhq bot merged commit 63023a1 into main Jul 30, 2025
10 checks passed
@kodiakhq kodiakhq bot deleted the fix/docker_port_binding branch July 30, 2025 15:43
kodiakhq bot pushed a commit that referenced this pull request Jul 30, 2025
🤖 I have created a release *beep* *boop*
---


## [1.26.18](v1.26.17...v1.26.18) (2025-07-30)


### Bug Fixes

* **deps:** Update module github.com/docker/docker to v28.3.3+incompatible [SECURITY] ([#528](#528)) ([bcf436e](bcf436e))
* Use Docker SDK to configure  port binding ([#526](#526)) ([63023a1](63023a1))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge Add to automerge PRs once requirements are met fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants