GET Registry by ID
You can get the information for a particular container registry. At this point, a hostname will be allocated to your registry. The registry hostname becomes a part of your image or your manifest or the repository name.
With the GET
request, you can fetch the registry information by ID. The registryId
must be provided. You can get it through GET Registries API call.
Note: The sample requestID
is 789f8e3c-d5c8-4359-8f85-c200fb89e97c
Request
Path parameters:
Field | Type | Description | Example |
---|---|---|---|
registryId | string | The ID of the registry to return. This is required. |
|
Response
200 OK - Successful operation
Response Fields
Field | Type | Description | Example |
---|---|---|---|
createdBy | string | The user who created the token. |
|
type | string | The type of resource. |
|
createdByUserId | string | The ID of the user or service account that initiated the operation. |
|
createdDate | string | The date when the operation was initiated. |
|
state | string | The status of the registry. |
|
hostname | string | The allocated hostname for the particular registry. |
|
apiSubnetAllowList | array | The list of IP subnets that can access the registry. |
|
Note:
Your values will differ from those in the sample code. Your response will have a different
id
and ahostname
.Save the hostname in the reponse sample for using the Docker commands.
400 Bad Request - The request made is invalid or corrupted
404 Not Found - The server did not find anything matching the request
Last updated