Harbor Docker Registry Appliance for OpenNebula Marketplace
Feature Description
Implementation of a Harbor-based Docker registry appliance for publication in the OpenNebula Marketplace. This appliance will provide a robust and secure Docker registry environment using Harbor.
Main Characteristics:
Base OS: Ubuntu 22.04.
Registry Platform: Harbor an open-source and self-hosted registry for container images.
Use Case
As part of the 6GSandbox project, this Docker registry appliance will enhance the OneKE offer by allowing organizations to easily deploy and manage their own Docker registries.
Data Model
Inputs:
Hostname
Admin password
SSL certificate path
Private key path
Actions:
Bootstrap: Initial VM setup, including OS installation and network configuration.
Installation: Deployment and configuration of Docker and Harbor, including setting up Harbor's configuration files (harbor.yml) with the correct certificate paths and system settings.
Cleanup: Removal of unnecessary files to minimize disk footprint.
Documentation
This section will cover the deployment and management of the Harbor-based Docker registry appliance, including:
Installation guide
User manual for the Harbor interface
Troubleshooting tips
Tests
Test Descriptions:
Functionality Tests: Ensure the appliance boots correctly and Harbor operates as expected.
Integration Tests: Validate appliance integration with the existing OpenNebula infrastructure.
Testing Environment:
Tests will be performed in a micro-environment mimicking a typical SME setup.
New microenv needed? Jenkins?
Other Considerations
Security Implications:
SSL/TLS setup validation for secure communications.
curl -s https://api.github.com/repos/goharbor/harbor/releases/latest | grep browser_download_url | cut -d '"' -f 4 | grep '\.tgz$' | grep online | wget -i -
tar -xvzf harbor-online-installer-v.tgz
cp harbor.yml.tmpl harbor.yml
nano harbor.yml # Modify the paths of certificate and private_key
sudo ./install.sh
Note: In the harbor.yml file, set the certificate and private_key fields to /etc/ssl/certs/harbor.testlab.local.crt and /etc/ssl/private/harbor.testlab.local.key, respectively.
Harbor Docker Registry Appliance for OpenNebula Marketplace
Feature Description
Implementation of a Harbor-based Docker registry appliance for publication in the OpenNebula Marketplace. This appliance will provide a robust and secure Docker registry environment using Harbor.
Main Characteristics:
Use Case
As part of the 6GSandbox project, this Docker registry appliance will enhance the OneKE offer by allowing organizations to easily deploy and manage their own Docker registries.
Data Model
Inputs:
Actions:
harbor.yml
) with the correct certificate paths and system settings.Documentation
This section will cover the deployment and management of the Harbor-based Docker registry appliance, including:
Tests
Test Descriptions:
Testing Environment:
Other Considerations
Security Implications:
New Files:
References
Work Plan
Step-by-Step Installation Guide
1. Update and Install Necessary Packages
2. Set Up Docker Repository
3. Generate SSL Certificates
4. Download and Install Harbor
Note: In the
harbor.yml
file, set the certificate and private_key fields to/etc/ssl/certs/harbor.testlab.local.crt
and/etc/ssl/private/harbor.testlab.local.key
, respectively.5. Clean Up
6. Convert VM Disk to QCOW2 Image