Hi Graham,

Thanks very much for your help.


Thanks,

Jared, (韦煜)
Software developer
Interested in open source software, big data, Linux

________________________________
From: Graham Dumpleton <gdump...@redhat.com>
Sent: Monday, November 13, 2017 4:41:00 PM
To: Yu Wei
Cc: us...@lists.openshift.redhat.com; dev@lists.openshift.redhat.com
Subject: Re: How could I use oc client to search images in integrated 
docker-registry?

You can use:

    oc get is

to list image streams for images in the registry in your current project.

If you have access to other projects you can use '-n' argument and give the 
name of the project.

Running:

    oc get is -n openshift

will list image streams in the default 'openshift' project.

You can use:

    oc new-app -L

to list images stream, as well as templates in the current project and the 
default 'openshift' project.

You can use:

    oc new-app -S

to search for images amongst image streams in current project, default 
'openshift' project and Docker Hub or other external registry attached with the 
OpenShift cluster.

Graham

On 13 Nov 2017, at 7:32 pm, Yu Wei 
<yu20...@hotmail.com<mailto:yu20...@hotmail.com>> wrote:

Hi,
How could I list images pushed into integrated docker-registry?
Could oc client be used? Or any other options?

Thanks,
Jared, (韦煜)
Software developer
Interested in open source software, big data, Linux
_______________________________________________
users mailing list
us...@lists.openshift.redhat.com<mailto:us...@lists.openshift.redhat.com>
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

_______________________________________________
dev mailing list
dev@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/dev

Reply via email to