refactor: migrate Docker integration to moby/moby/client#28
Open
yinonv wants to merge 1 commit into
Open
Conversation
74fbe07 to
b2b6a54
Compare
d0f3116 to
12256d9
Compare
Replace the legacy github.com/docker/docker client packages with the new github.com/moby/moby/client (v2) API across the docker component, config, logs, network, runtime, and waiter, updating call sites to the new options-struct based signatures. Bump related dependencies in go.mod/go.sum. Co-authored-by: Cursor <cursoragent@cursor.com>
12256d9 to
b19699f
Compare
Tamir-Mosh
approved these changes
Jun 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Migrates envite's Docker integration off the legacy
github.com/docker/dockerclient packages onto the newgithub.com/moby/moby/client(v2) API.Changes
docker/docker/{api/types,client,errdefs,pkg/...}tomoby/moby/{client,api/...}andcontainerd/errdefs.ImageTag,ContainerCreate,ContainerStart/Stop/Remove,ImageRemove,ExecCreate/Attach/Inspect, andContainerList.filters.NewArgswithclient.Filters,jsonmessage.JSONMessagewithjsonstream.Message, andtypes.Containerwithcontainer.Summary.container.StateRunninginstead of the"running"string literal.go.mod/go.sumaccordingly.Notes
docker/{component,config,logs,network,runtime,waiter}.goandcmd/envite/docker.go.Made with Cursor