Managing Container Image Registries
Container image registries are important components of Neutree’s infrastructure layer, providing the container images required for cluster deployment.
If cluster nodes can connect to Docker-compatible container image registries (such as Docker Hub), after creating a container image registry, clusters will obtain Neutree’s container images from these registries.
If cluster nodes cannot connect to these container image registries, you can manually import container images.
Create Container Image Registry
Section titled “Create Container Image Registry”-
Log in to the Neutree management interface, click Container Image Registries in the left sidebar, and click Create on the right page.
-
Fill in the configuration information.
-
Basic Information
Parameter Description Editable After Creation Name The name of the container image registry. No Workspace The workspace to which the container image registry belongs. No -
Image Registry
Parameter Description Editable After Creation URL The URL of the container image registry. For Docker Hub, the URL is https://docker.io.Yes Repository The project or repository in the container image registry. Not required for Docker Hub. Yes -
Authentication
Parameter Description Editable After Creation Username Username for accessing the container image registry. Yes Password Password for accessing the container image registry. Yes
-
-
After confirming all configuration information is correct, click Save.
Manually Import Container Images
Section titled “Manually Import Container Images”In restricted network environments, you can manually import required container images into Neutree’s container image registry.
Steps
-
Download the Neutree CLI from GitHub Releases according to your server’s CPU architecture:
Terminal window # For amd64curl -LO https://github.com/neutree-ai/neutree/releases/download/v1.0.0/neutree-cli-amd64# For aarch64curl -LO https://github.com/neutree-ai/neutree/releases/download/v1.0.0/neutree-cli-aarch64 -
Rename and grant executable permissions to the CLI:
Terminal window mv neutree-cli-<arch> neutree-clichmod +x neutree-cliReplace
<arch>with your server’s CPU architecture:amd64oraarch64. -
Download the cluster offline image file for the specified accelerator type from GitHub Releases.
-
Upload the cluster offline image to the specified image registry using the CLI tool:
Terminal window ./neutree-cli import cluster \--package <cluster_package> \--mirror-registry <mirror_registry> \--registry-username <registry_username> \--registry-password <registry_password>Parameter Description <cluster_package>Cluster offline image filename. - Static node cluster offline image format:
neutree-ssh-<accelerator_type>-v1.0.0-<arch>.tar.gz, where<accelerator_type>isnvidia_gpuoramd_gpu. - Kubernetes cluster offline image format:
neutree-k8s-v1.0.0-<arch>.tar.gz.
<mirror_registry>Image registry address. <registry_username>Image registry username with image upload permissions. <registry_password>Image registry login password or access key (e.g., token). - Static node cluster offline image format:
View Container Image Registry
Section titled “View Container Image Registry”Log in to the Neutree management interface, click Container Image Registries in the left sidebar, and the container image registry list on the right will display all current registries. Click on a registry name to view details.
Edit Container Image Registry
Section titled “Edit Container Image Registry”After creating a container image registry, you can modify the registry URL, repository, and authentication settings as needed.
-
Log in to the Neutree management interface, click the menu icon on the container image registry list or details page, and select Edit.
-
Modify as needed on the configuration page. For parameter descriptions, refer to Create Container Image Registry.
-
After confirming the configuration is correct, click Save to complete the edit.
Delete Container Image Registry
Section titled “Delete Container Image Registry”-
Log in to the Neutree management interface, click the menu icon on the container image registry list or details page, and select Delete.
-
In the pop-up dialog, confirm and click Delete. The container image registry will be permanently deleted.