containerd / nerdctl

contaiNERD CTL - Docker-compatible CLI for containerd, with support for Compose, Rootless, eStargz, OCIcrypt, IPFS, ...

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dockerconfigresolver is using the wrong package for errdefs

apostasie opened this issue · comments

Description

https://github.com/containerd/nerdctl/blob/main/pkg/imgutil/dockerconfigresolver/dockerconfigresolver.go#L33

Should be: github.com/containerd/containerd/errdefs

This is causing downstream issues wrt hosts.toml file resolution as errdefs.IsNotFound never succeeds.

Steps to reproduce the issue

n.a.

Describe the results you received and expected

n.a.

What version of nerdctl are you using?

1.7.6

Are you using a variant of nerdctl? (e.g., Rancher Desktop)

None

Host information

No response