Skip to content

Conversation

@Unbreathable
Copy link
Contributor

This just upgrades Magic to the latest version of moby/client (the Docker Engine SDK for Golang).

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR upgrades the Docker SDK from github.com/docker/docker to the newer github.com/moby/moby client packages. The migration involves updating import paths, adapting to new API signatures, and handling changes in data structure organization.

Changes:

  • Migrated from docker/docker to moby/moby client SDK (v1.52.0 for API, v0.2.1 for client)
  • Updated all Docker client API calls to use new method signatures and return types
  • Adapted code to handle restructured response objects (e.g., summary.Items, resp.Container.*)

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
mrunner/runner_deploy.go Updated Docker client API calls throughout container deployment, inspection, removal, and exec operations; changed filter creation, port parsing, and network configuration to use moby/moby types
mrunner/runner.go Updated import path from docker/docker/client to moby/moby/client
go.mod Added moby/moby/api v1.52.0 and moby/moby/client v0.2.1; removed docker/docker dependency; updated numerous transitive dependencies
go.sum Added checksums for new moby/moby packages and updated transitive dependencies
examples/go.work.sum Updated workspace checksums for new dependencies

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Unbreathable and others added 2 commits January 26, 2026 16:53
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@Unbreathable Unbreathable merged commit d17c76f into main Jan 28, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants