DevOps/Container Registry

From Wikiversity
Jump to navigation Jump to search

Container Registry is a software that enables container image storage and management. Different Container Registry are available such as AWS ECR, Google Cloud Container Registry, Jfrog Docker Registry [1], GitLab Container registry[2] or Docker Hub.

Docker[edit]

A Docker registry is a repository for Docker images. Docker clients connect to registries to download (docker pull) images for use or upload (docker push) images. A Docker Registry HTTP API is available to facilitate distribution of images to the docker engine[3] with support for image verification, resumable push and pull operations and layer deduplication.

Docker Registries can be public or private. Two main public registries are Docker Hub and Docker Cloud. Docker Hub is the default registry where Docker looks for images. Docker registries also allow the creation of notifications based on events.[4]

ECR[edit]

AWS ECR[5] is a managed container registry service from AWS available since December 2015[6] with tagging (see docker tag) support from December 2018[7]

Gitlab Container registry[edit]

Gitlab Container registry supports different storage backends such us local mounted filesystem or Microsoft Azure Blob Storage, Google Cloud Storage, AWS S3, OpenStack Swift Object Storage or Aliyun OSS.[8]

Activities[edit]

  1. Use public docker hub container registry to download and run you first image
  2. Install GitLab and enable container registry in: /etc/gitlab/gitlab.rb[9]

See also[edit]

  • https://www.jfrog.com/confluence/display/RTF/Docker+Registry
  • https://docs.gitlab.com/ee/user/packages/container_registry/
  • https://docs.docker.com/registry/spec/api/
  • https://docs.docker.com/registry/notifications/
  • https://aws.amazon.com/ecr/
  • https://aws.amazon.com/blogs/aws/ec2-container-registry-now-generally-available/
  • https://aws.amazon.com/about-aws/whats-new/2018/12/amazon-ecr-now-allows-repository-tagging/
  • https://docs.gitlab.com/ee/administration/packages/container_registry.html#container-registry-storage-driver
  • https://docs.gitlab.com/ee/administration/packages/container_registry.html#container-registry-storage-driver