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

[feature-request] support registry-mirrors #2875

Closed
zhuangqh opened this issue May 29, 2019 · 0 comments
Closed

[feature-request] support registry-mirrors #2875

zhuangqh opened this issue May 29, 2019 · 0 comments
Labels
kind/feature kind/feature-request This is a feature request from community for PouchContainer

Comments

@zhuangqh
Copy link
Contributor

Why you need it?

we may pull images from some private image registry.

How it could be?

UX

launch pouchd with --registry-mirrors. registry-mirrors is a string slice. pouch will attempt to use these mirrors in order of the config order.

It is unnecessary to specific the net prototype(http://, https://) in the mirrors configuration. Pouch use https by default.

For http registry, just add them into insecure-registries parameters.

Detail

Pouch will first try the mirrors in the registry-mirrors list, and then the default-registry one.
Only if the domain field in the image reference equals to the default-registry, pouch will add the missing namespace which configured from default-namespace.

Other related information

@pouchrobot pouchrobot added kind/feature kind/feature-request This is a feature request from community for PouchContainer labels May 29, 2019
@fuweid fuweid closed this as completed May 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature kind/feature-request This is a feature request from community for PouchContainer
Projects
None yet
Development

No branches or pull requests

3 participants