Skip to content

Instantly share code, notes, and snippets.

@codedge
Last active February 19, 2019 11:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save codedge/619b1b9510078e865d6227e1c412a36f to your computer and use it in GitHub Desktop.
Save codedge/619b1b9510078e865d6227e1c412a36f to your computer and use it in GitHub Desktop.
[Docker cli] Get infos from docker registry #docker #cli #registry

Login to docker registry

$ docker login localhost:8000 --username X --password-stdin

Get list of repositories

$ curl --user user:pass https://<URL>/v2/_catalog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment