Managing container registries
The container registry is an important component of Neutree infrastructure layer, providing the container images required for cluster deployment.
If the cluster nodes can connect to a Docker-compatible container registry (such as Docker Hub), the cluster will retrieve Neutree container images through the registries you create. If no container registry (such as Harbor or Docker Hub) is available in your environment, see Setting up a temporary container registry.
If the cluster nodes cannot connect to the above registries or the connection is slow, you can manually import container images.
Creating a container registry
Section titled “Creating a container registry”-
Log in to the Neutree management interface. Click Image Registries in the left navigation pane, then click Create on the right.
-
Fill in the configuration.
-
Basic Information
Parameter Description Editable after creation Name The name of the container registry. No Workspace The workspace to which the container registry belongs. No -
Image Registry
Parameter Description Editable after creation URL The URL of the container registry. When using Docker Hub, the URL is https://docker.io.Yes Repository The project or repository in the container registry. Leave this field empty in the following cases:
- When using Docker Hub.
- When no project name was set when uploading images with the CLI tool.
Yes -
Authentication
Parameter Description Editable after creation Username The username for accessing the container registry. Yes Password The password for accessing the container registry. Yes
-
-
After confirming that all configurations are correct, click Save.
Viewing container registries
Section titled “Viewing container registries”Log in to the Neutree management interface. Click Image Registries in the left navigation pane. The registry list on the right shows all current container registries. Click a registry name to view its details.
Editing a container registry
Section titled “Editing a container registry”After a container registry is created, you can modify the registry URL, repository information, and authentication configuration as needed.
-
Log in to the Neutree management interface. In the registry list or details page, click the menu icon (…) and select Edit.
-
Modify the configuration as needed. For parameter descriptions, see Creating a container registry.
-
After confirming that the configuration is correct, click Save to complete the edit.
Deleting container registries
Section titled “Deleting container registries”You can delete one or more container registries at the same time.
-
Log in to the Neutree management interface. In the registry list or details page, click the menu icon (…) and select Delete; or select multiple registries in the list and click Delete above the list.
-
In the confirmation dialog, confirm the deletion and click Delete. The selected container registries will be permanently deleted.