Docker Registry API, Docker Hub API, and OAuth API

Source: Internet
Author: User
Tags oauth docker hub docker registry

Docker provides the following four types of Api:docker Registry API Docker Hub API Docker API Docker Remote API for ease of use

This article is designed to explore the Docker Registry API, the Docker Hub API, and the OAuth API.

The Docker API is primarily used to communicate messages between Docker's official Index, Registry, and Client.

The Docker remote API is an API for controlling the host Docker server, equivalent to the Dockers command-line client.
Docker Registry API

The Docker Registry API is a REST API designed to simplify the storage of mirrors and warehouses, and these APIs do not involve user accounts and user authentication.

Remove the mirror layer:


To insert a mirrored layer:


To retrieve the image:


To retrieve the root image of a mirror:


Gets all the tags for the specified library:


Gets the specified label for the specified library:


To delete a label:


Registry status Check:


Docker Hub API

The Docker Hub API is a REST API designed for Docker hub. The Docker Hub (i.e. Index) uses a checksum public namespaces to store account information, authenticate accounts, and authorize accounts. The API also allows the operation of the relevant user repository and library repository. operation of a special warehouse

Create a new warehouse


Delete an existing warehouse


Update a warehouse image


Get a warehouse image




All of these are special warehouse operations, the following is an open API for ordinary users.

The Special library warehouse and user warehouse is the difference between the Library warehouse is the official warehouse, you can directly use Ubuntu name to do repo name, and the translator can only use Qiuker521/ubuntu as repo name. operations for ordinary users

Create a new user repository


Delete an existing warehouse


Update image


Get Mirror


User authentication


Create a new user


Update user Information


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.