Docker V2 API
Technical reference for the Docker Registry V2 API implementation.
⏱️ 6 min read
Overview
NugetHosting implements the Docker Registry HTTP API V2, making it compatible with:
- Docker CLI
- Podman
- Kubernetes
- Docker Compose
- Any OCI-compatible tool
Registry URL
registry.nugethosting.comAuthentication
All registry endpoints require authentication via Basic Auth or Bearer token. Use your API token as the password:
Basic Auth
# Username is always "api", password is your API token
curl -u "api:YOUR_API_TOKEN" https://registry.nugethosting.com/v2/Bearer Token
curl -H "Authorization: Bearer YOUR_API_TOKEN" \
https://registry.nugethosting.com/v2/💡 Note: Docker CLI handles authentication automatically when you run docker login registry.nugethosting.com -u api -p YOUR_API_TOKEN.
Manifests
Get Manifest
GET /v2/{name}/manifests/{reference}Push Manifest
PUT /v2/{name}/manifests/{reference}Delete Manifest
DELETE /v2/{name}/manifests/{reference}Blobs
Get Blob
GET /v2/{name}/blobs/{digest}Initiate Blob Upload
POST /v2/{name}/blobs/uploads/Returns a Location header with the upload URL.