Skip to content

kyma-project/docker-registry

Docker Registry

Status

GitHub tag checks state REUSE status

Overview

Docker Registry Operator allows deploying the Docker Registry component in the Kyma cluster in compatibility with Lifecycle Manager.

Install

  1. Create the kyma-system namespace:
kubectl create namespace kyma-system
  1. Apply the following script to install Docker Registry Operator:
kubectl apply -f https://github.com/kyma-project/docker-registry/releases/latest/download/dockerregistry-operator.yaml
  1. To get Docker Registry installed, apply the sample Docker Registry custom resource (CR):
kubectl apply -f https://github.com/kyma-project/docker-registry/releases/latest/download/default-dockerregistry-cr.yaml

Development

Prerequisites

Installation in the k3d Cluster Using Make Targets

  1. Clone the project.

    git clone https://github.com/kyma-project/docker-registry.git && cd docker-registry/
  2. Build Docker Registry Operator locally and run it in the k3d cluster.

    make run

NOTE: To clean up the k3d cluster, use the make delete-k3d make target.

Using Docker Registry Operator

  • Create a Docker Registry instance.

    kubectl apply -f config/samples/default-dockerregistry-cr.yaml
  • Delete a Docker Registry instance.

    kubectl delete -f config/samples/default-dockerregistry-cr.yaml