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

fix: the registry host namespace should include the port #227

Merged

Conversation

yetone
Copy link
Contributor

@yetone yetone commented Jan 16, 2024

Description

According to the container documentation, the registry host namespace should include a port. I have also tested this in practice; the hosts.toml configuration under the certs.d/127.0.0.1 directory indeed does not affect crictl pull 127.0.0.1:5000/xxx. Therefore, you should create a certs.d/127.0.0.1:5000 directory.

https://github.com/containerd/containerd/blob/main/docs/hosts.md#registry-host-namespace

image

Related Issue

Motivation and Context

Solve the issue of invalid mirror for registry with port.

Copy link
Member

@gaius-qi gaius-qi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yetone Please add changelog and update chart version, refer to https://github.com/dragonflyoss/helm-charts/pull/190/files.
Helm charts use helm-docs to generate helm documents, refer to https://github.com/dragonflyoss/helm-charts/tree/main/charts.

@yetone yetone force-pushed the fix/registry-host-namespace-contains-port branch 2 times, most recently from 65d9ce0 to 11e8524 Compare January 18, 2024 04:24
@yetone yetone force-pushed the fix/registry-host-namespace-contains-port branch from 11e8524 to b137bf4 Compare January 18, 2024 04:28
Copy link
Member

@gaius-qi gaius-qi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@gaius-qi gaius-qi merged commit 43d79ab into dragonflyoss:main Jan 18, 2024
4 checks passed
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 this pull request may close these issues.

2 participants