-
Notifications
You must be signed in to change notification settings - Fork 175
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
Admiral can't pull images from insecure registry (harbor) when creating a container using VIC-E #4706
Comments
Sounds like a release note to me, @hmahmood. Adding the kind/note flag. |
@stuclem yes; forgot to put that label on it yesterday. |
Proposed release note:
@hmahmood is this OK? One question: Since Registry always uses HTTPS and always uses a cert (custom or autogenerated) when deployed with the OVA, is this still an issue for vic-product? |
@stuclem this is an issue as long as the cert cannot be validated. The
|
Thanks @hmahmood. Updated as below:
Is this OK now? Thanks! |
@stuclem looks good. |
Thanks @hmahmood |
While creating a container through the Admiral UI with VIC-E as the only docker host, I get the following error:
I created my VCH with
--insecure-registry <harbor-ip>
, i.e. without specifying the port. Looking at the code path (https://github.com/vmware/vic/blob/master/lib/apiservers/engine/backends/image.go#L372), I see that we are matching the hostname we get from the create image request with the ip/host specified in the--insecure-registry
option above; they don't match because the latter has the port missing.Workaround: specify the port when using
--insecure-registry
vic-machine option.The text was updated successfully, but these errors were encountered: