Home / Formulas / Docker Hub

Docker Hub

docker

Authenticate with Docker Hub using OAuth device code flow. Access Docker Hub Registry API for managing repositories, images, and organizations.

🔐 Authentication Methods

device_code
device: https://login.docker.com/oauth/device/code
token: https://login.docker.com/oauth/token
Scope: openid offline_access

👤 Identity

Account: e.g., personal, work

🌐 APIs

rest
Base URL: https://hub.docker.com/v2
Auth Header: Authorization: Bearer {token}
Methods: device_code
registry
Base URL: https://registry-1.docker.io/v2
Auth Header: Authorization: Bearer {token}
Methods: device_code

📦 Public Clients

These clients are bundled with the formula. Schlussel auto-selects the first available public client and its supported method. Just run the command below.

docker-cli
Client ID: L4v0dmlNBpYUjGGab0C2JtgTgXr1Qz4d
Methods: device_code
$ schlussel run docker

🎮 API Playground

Authenticate with Docker Hub and try the API right here. Your token stays in your browser and is not stored.

console
Cmd/Ctrl + Enter to run
Output will appear here...
← Back to all formulas