[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

pull image from external registries



hello , is there a way to import images from private external docker registry using "oc import-image" command.

This works fine with docker hub images, but I need to pull image from external registry to openshift imagestream using "oc import-image" command.

how to set authentication to work with this?


whenever I try to run below  command: 

oc import-image myrepo:5000/mysql test/mysql

It gives below in error:

E1207 04:24:51.103594    4913 factory.go:49] error checking for V2 registry at https://myrepo:5000/v2/: Get https://myrepo:5000/v2/: x509: certificate signed by unknown authority

Thanks a lot in advance!



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]