NamespaceManagement_Supervisors_ContainerImageRegistries_CreateSpec

NamespaceManagement_Supervisors_ContainerImageRegistries_CreateSpec
NamespaceManagement_Supervisors_ContainerImageRegistries_CreateSpec

The ContainerImageRegistries.CreateSpec structure provides a specification required to create a container image registry.

JSON Example
{
    "name": "string",
    "image_registry": {
        "hostname": "string",
        "port": 0,
        "username": "string",
        "password": "string",
        "certificate_chain": "string"
    },
    "default_registry": false
}
string
name
Required

Name of the container image registry. This name is unique across all container image registries in one Supervisor.

image_registry
Required

The ImageRegistry structure contains the specification required to configure container image registry endpoint.

boolean
default_registry
Optional

Indicates if this container image registry serves as the default option when multiple registries exist, and no specific registry is specified. If there is already a default image registry, the new registry set to default will overwrite the original default setting. If there are one or more container image registries associated with the Supervisor, but none of them is set as the default, Docker Hub will be treated as the default. If unset, this registry is not used as the default option.