How do i list the images in a local docker registry?



  • For docker hub, we do

    $ docker search <string>
    

    For a local registry, one way is:

    List the images.

    $ curl -X GET http://localhost:5000/v2/_catalog               
    {"repositories":["myimages/my-nginx"]}
    

    Using the docker api


Log in to reply
 

© Lightnetics 2024