Index

docker API

docker engine API

documentation
https://docs.docker.com/engine/api/v1.40/

docker registry API

hello world
curl --user [user] https://example.com/v2/
list repositories
curl --user [user] https://example.com/v2/_catalog
list tags
curl --user [user] https://example.com/v2/[repository]/tags/list
list FS layers for image
curl --user [user] https://example.com/v2/[repository]/manifests/latest
download layer
curl --user [user] https://example.com/v2/[repository]/blobs/sha256:[hash] > [tar-file]
documentation registry API
https://docs.docker.com/registry/spec/api/#listing-repositories