The Docker Hub provides a REST API to integrate the Hub capabilities through programs. The REST API is supported for both user as well as repository management.
User management supports the following features:
GET /v1/users
$ curl --raw -L --user vinoddandy:password https://index.docker.io/v1/users 4 "OK" 0 $
POST /v1/users
PUT /v1/users/(usename)/
Repository management supports the following features:
PUT /v1/repositories/(namespace)/(repo_name)/
$ curl --raw -L -X POST --post301 -H "Accept:application/json" -H "Content-Type: application/json" --data-ascii '{"email": "[email protected]", "password": "password", "username": "singhvinod494" }' https://index.docker.io/v1/users e "User created" 0
After you create repositories, your repositories will be listed here, as shown in this screenshot:
DELETE /v1/repositories/(namespace)/(repo_name)/
PUT /v1/repositories/(repo_name)/
DELETE /v1/repositories/(repo_name)/
PUT /v1/repositories/(namespace)/(repo_name)/images
GET /v1/repositories/(namespace)/(repo_name)/images
PUT /v1/repositories/(repo_name)/images
GET /v1/repositories/(repo_name)/images
PUT /v1/repositories/(repo_name)/auth
PUT /v1/repositories/(namespace)/(repo_name)/auth