Skip to content

Latest commit

 

History

History
13 lines (12 loc) · 536 Bytes

03.docker-registry.md

File metadata and controls

13 lines (12 loc) · 536 Bytes

Docker Registry

CURL private docker registry

$ curl https://oauth:`oc whoami -t`@<private-docker-registry-URL>/v2/_catalog --cacert <CA-certificate-path>
$ curl https://oauth:`oc whoami -t`@<private-docker-registry-URL>/v2/_catalog --insecure

CURL public-online docker registry (redhat.com, docker.com, etc) via proxy

$ curl -x http://<proxy-URL>:8080 -L https://www.openshift.com
$ curl -x http://<proxy-URL>:8080 -L https://sso.redhat.com
$ curl -x http://<proxy-URL>:8080 -L https://www.docker.com