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

Containerd docker mirror setup #113

Open
3 tasks
ralgozino opened this issue Feb 7, 2025 · 0 comments
Open
3 tasks

Containerd docker mirror setup #113

ralgozino opened this issue Feb 7, 2025 · 0 comments
Assignees
Labels
good first issue Good for newcomers

Comments

@ralgozino
Copy link
Member

Intro

containerd's default configuration includes a mirror for docker.io that points to registry-1.docker.io.

The containerd role in the on-premises installer, uses a template file based on containerd's default configuration to generate the configuration that ends up in the nodes, that includes also this default mirror configuration:

[plugins."io.containerd.grpc.v1.cri".registry.mirrors."docker.io"]
endpoint = ["https://registry-1.docker.io"]

On the other hand, the role also supports setting the mirror configuration for custom registries. This configuration is also exposed by furyctl in the furyctl.yaml file.

But, if the user configures a mirror for docker.io using the role variables or furyctl, the configuration will conflict with the default one and containerd's service won't (re)start.

Tasks

  • Investigate if the default mirror configuration for docker.io -> https://registry-1.docker.io is actually needed.
  • If it is not needed, remove it from the template.
  • If it is needed, include the default configuration (lines linked above) only if the user has NOT set a different mirror configuration for docker.io.
@jnardiello jnardiello self-assigned this Feb 7, 2025
@jnardiello jnardiello added the good first issue Good for newcomers label Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants