Jump to content

DevOps/Container Registry

From Wikiversity
(Redirected from Container Registry)

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 | edit source]

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]

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 | edit source]

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 | edit source]
  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 | edit source]
  1. https://www.jfrog.com/confluence/display/RTF/Docker+Registry
  2. https://docs.gitlab.com/ee/user/packages/container_registry/
  3. https://docs.docker.com/registry/spec/api/
  4. https://docs.docker.com/registry/notifications/
  5. https://aws.amazon.com/ecr/
  6. https://aws.amazon.com/blogs/aws/ec2-container-registry-now-generally-available/
  7. https://aws.amazon.com/about-aws/whats-new/2018/12/amazon-ecr-now-allows-repository-tagging/
  8. https://docs.gitlab.com/ee/administration/packages/container_registry.html#container-registry-storage-driver
  9. https://docs.gitlab.com/ee/administration/packages/container_registry.html#container-registry-storage-driver