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

Add support for mirrors #668

Closed
sathieu opened this issue Jan 5, 2022 · 3 comments · Fixed by #642
Closed

Add support for mirrors #668

sathieu opened this issue Jan 5, 2022 · 3 comments · Fixed by #642

Comments

@sathieu
Copy link

sathieu commented Jan 5, 2022

containerd can use mirrors., but as the FAQ tells:

nerdctl ignores [plugins."io.containerd.grpc.v1.cri"] config

Expected behavior, because nerdctl does not use CRI (Kubernetes Container Runtime Interface) API.

See the questions below for how to configure nerdctl.

How to configure registry mirrors in nerdctl?

( Triggered by kubernetes-sigs/kubespray#8375).

(NB: this is similar to older issue #199)

@AkihiroSuda
Copy link
Member

@AkihiroSuda AkihiroSuda linked a pull request Jan 5, 2022 that will close this issue
@sathieu
Copy link
Author

sathieu commented Jan 5, 2022

@AkihiroSuda Looking at the code, it does'nt support:

#$ sudo cat /etc/containerd/certs.d/quay.io/hosts.toml
# server = "https://quay.io"

[host."https://gitlab-registry.k8s.example.org/v2/external-registries/quay.io"]
  capabilities = ["pull", "resolve"]
  override_path = true

Does it?

@AkihiroSuda
Copy link
Member

AkihiroSuda commented Jan 5, 2022

Implemented in PR #642 , but not merged yet

(And mirroring is not tested yet)

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 a pull request may close this issue.

2 participants