Create a container registry

post/container/registry

Creates a container registry.

Request Samples

Response Samples

1Not Available

Request Body

A response representation for a container registry.

NameTypeRequiredDescription
name
string
false

A unique name for the registry.

defaultRepository
string
false
description
string
false

Descriptive text for the registry.

url
string
false
username
string
false
password
string
false

Responses

StatusMeaningDescription
201Created

The container registry was created.

Headers
400Bad Request

The supplied registry information is invalid.

Schema
401Unauthorized

The request is not authenticated.

Schema
403Forbidden

The user did not have the necessary permissions.

Schema
409Conflict

An error response when a container registry already exists.

Schema
503Service Unavailable

Functionality for project containers is not enabled.

Schema