Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error running the code for docker golang SDK #19827

Open
1 task done
Animesh420 opened this issue Apr 18, 2024 · 1 comment
Open
1 task done

Error running the code for docker golang SDK #19827

Animesh420 opened this issue Apr 18, 2024 · 1 comment
Labels
status/triage Needs triage

Comments

@Animesh420
Copy link

Animesh420 commented Apr 18, 2024

Is this a docs issue?

  • My issue is about the documentation content or website

Type of issue

Other

Description

When I am copying and running the code for docker golang SDK from https://docs.docker.com/engine/api/sdk/examples/ I am getting errors such as
github.com/docker/docker/client
../../../go/pkg/mod/github.com/docker/docker@v26.0.1+incompatible/client/errors.go:28:16: undefined: errors.As
../../../go/pkg/mod/github.com/docker/docker@v26.0.1+incompatible/client/request.go:127:14: undefined: errors.Is
../../../go/pkg/mod/github.com/docker/docker@v26.0.1+incompatible/client/request.go:129:14: undefined: errors.Is
../../../go/pkg/mod/github.com/docker/docker@v26.0.1+incompatible/client/request.go:153:13: undefined: errors.Is

Location

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

Suggestion

I was going throughr, and I found t but not sure how to use it.

@Animesh420 Animesh420 added the status/triage Needs triage label Apr 18, 2024
@Animesh420
Copy link
Author

Please checkhere

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/triage Needs triage
Projects
None yet
Development

No branches or pull requests

1 participant