GithubHelp home page GithubHelp logo

kwiatekus / docker-registry Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kyma-project/docker-registry

0.0 0.0 0.0 394 KB

License: Apache License 2.0

Shell 0.76% JavaScript 0.66% Go 91.55% Makefile 5.54% Smarty 0.11% Dockerfile 0.46% Mustache 0.92%

docker-registry's Introduction

Docker Registry

Status

GitHub tag checks state REUSE status

Overview

The Docker Registry module provides a lightweight, open-source Docker registry for storing and distributing container images in the Kubernetes environment. You can use it in self-contained development clusters or testing environments, so you can test deployments in an isolated system.

Warning

Do not use Docker Registry in production clusters, where a full-fledged, highly-available, production-grade registry is necessary.

The Docker Registry module comes with a dedicated Kubernetes operator for effortless installation and upgrades. It manages the lifecycle of the Docker Registry resources according to the desired specification expressed through a dedicated Dockerregistry custom resource (CR). Read more about configuration options in the user documentation.

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

Usage

Having installed the Docker Registry module, you can start pushing images to it using Kyma CLI (v3) or, if you decide to expose the registry externally, using Docker CLI. For details, see the following tutorials:

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

docker-registry's People

Contributors

pprecel avatar dependabot[bot] avatar halamix2 avatar michalkalke avatar anoipm avatar kwiatekus avatar cortey avatar grego952 avatar pbochynski avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.