Skip to content

"Install the SDKs - Go SDK" command fails #23132

@nyhryan

Description

@nyhryan

Is this a docs issue?

  • My issue is about the documentation content or website

Type of issue

Other

Description

I am trying to create a Go client using Docker Go SDK.

From Develop with Docker Engine SDKs page, I run the following command.

$ go get github.com/docker/docker/client

However, the command fails with following output.

go: downloading github.com/docker/docker/client v0.0.0-20250721234113-596e088bd057
go: downloading github.com/docker/docker v28.3.2+incompatible
go: github.com/docker/docker/client@upgrade (v0.0.0-20250721234113-596e088bd057) requires github.com/docker/docker/[email protected]: parsing go.mod:
        module declares its path as: github.com/moby/moby/client
                but was required as: github.com/docker/docker/client

I am running go1.24.5 windows/amd64 Go version.

I am not sure if this is the place to ask about this issue, since I see moby/moby/client from the log. I can't find any references to the project moby from the documentation.

Location

https://docs.docker.com/reference/api/engine/sdk/

Suggestion

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions