Difference between revisions of "Container registry"

From wikieduonline
Jump to navigation Jump to search
 
(27 intermediate revisions by 4 users not shown)
Line 1: Line 1:
[[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, [[Azure Container Registry]] ([[ACR]]), [[Jfrog]] Docker Registry <ref>https://www.jfrog.com/confluence/display/RTF/Docker+Registry</ref>, [[GitLab]] Container registry<ref>https://docs.gitlab.com/ee/user/packages/container_registry/</ref> or Docker Hub.
+
[[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, [[Azure Container Registry]] ([[ACR]]), [[Jfrog]] Docker Registry <ref>https://www.jfrog.com/confluence/display/RTF/Docker+Registry</ref>, [[GitLab Container registry]]<ref>https://docs.gitlab.com/ee/user/packages/container_registry/</ref> or Docker Hub.
  
 
== Docker ==
 
== Docker ==
A [[Docker]] registry is a repository for [[Docker]] images. Docker clients connect to registries to download (<code>docker pull</code>) images for use or upload (<code>docker push</code>) images. A Docker Registry HTTP API is available to facilitate distribution of images to the docker engine<ref>https://docs.docker.com/registry/spec/api/</ref> with support for image verification, resumable push and pull operations and layer deduplication.
+
A [[Docker]] registry is a repository for [[Docker]] images. Docker clients connect to registries to download (<code>[[docker pull]]</code>) images for use or upload (<code>[[docker push]]</code>) images. A Docker Registry HTTP API is available to facilitate distribution of images to the docker engine<ref>https://docs.docker.com/registry/spec/api/</ref> 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 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.<ref>https://docs.docker.com/registry/notifications/ </ref>
 
Docker Hub is the default registry where Docker looks for images. Docker registries also allow the creation of notifications based on events.<ref>https://docs.docker.com/registry/notifications/ </ref>
 +
 +
* [[docker push]]
 +
* [[docker pull]]
 +
* [[docker login]]
  
 
== ECR ==
 
== ECR ==
 
[[AWS]] ECR<ref>https://aws.amazon.com/ecr/</ref> is a managed container registry service from AWS available since December 2015<ref>https://aws.amazon.com/blogs/aws/ec2-container-registry-now-generally-available/</ref> with tagging (see <code>[[docker tag]]</code>) support from December 2018<ref>https://aws.amazon.com/about-aws/whats-new/2018/12/amazon-ecr-now-allows-repository-tagging/</ref>
 
[[AWS]] ECR<ref>https://aws.amazon.com/ecr/</ref> is a managed container registry service from AWS available since December 2015<ref>https://aws.amazon.com/blogs/aws/ec2-container-registry-now-generally-available/</ref> with tagging (see <code>[[docker tag]]</code>) support from December 2018<ref>https://aws.amazon.com/about-aws/whats-new/2018/12/amazon-ecr-now-allows-repository-tagging/</ref>
 +
 +
* <code>[[aws ecr put-image]]</code>
 +
* <code>[[aws ecr list-images]]</code>
 +
* <code>[[aws ecr describe-images]]</code>
 +
* <code>[[aws ecr get-login]]</code>
 +
 +
Security: <code>[[aws_ecr_registry_scanning_configuration]]</code>
  
 
== Gitlab Container registry ==
 
== Gitlab Container registry ==
Line 14: Line 25:
  
 
== Activities ==
 
== Activities ==
# Use public docker hub container registry to download and run you first image
+
# Use public [[docker hub]] container registry to [[docker pull|download]] and run you first image
# Install [[GitLab]] and enable container registry in: <code>/etc/gitlab/gitlab.rb</code><ref>https://docs.gitlab.com/ee/administration/packages/container_registry.html#container-registry-storage-driver</ref>
+
# Install [[GitLab]] and enable container registry in: <code>[[/etc/gitlab/gitlab.rb]]</code><ref>https://docs.gitlab.com/ee/administration/packages/container_registry.html#container-registry-storage-driver</ref>
 +
# [[Pull an Image from a Private Registry in Kubernetes]]
 +
# Understand <code>[[kubectl create secret docker-registry]]</code> in K8s
 +
 
 +
== Related ==
 +
* <code>[[registry.k8s.io]]</code>
 +
* <code>[[registry.access.redhat.com]]</code>
 +
* <code>[[ghcr.io]]</code>
 +
* <code>[[gcr.io]]</code>
 +
* <code>[[mcr.microsoft.com]]</code>
 +
* <code>[[crane]]</code> tool
 +
* [[skopeo]]
 +
* [[OCI registry]]
 +
* <code>[[docker push]], [[aws ecr put-image]]</code>
 +
* [[repository:]] in [[values.yaml]]
  
 
== See also ==
 
== See also ==
* [[Package managers]]
+
* {{Container Registry}}
 +
* {{OCI registry}}
 
* {{Registry}}
 
* {{Registry}}
* {{K8s}}
 
* [[docker images]]
 
  
[[Category: Software development]]
+
[[Category:Containers]]
[[Category:Server administration]]
 
  
  
 
{{CC license}}
 
{{CC license}}
 
Source wikiversity
 
Source wikiversity

Latest revision as of 08:39, 10 September 2024

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, Azure Container Registry (ACR), 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]

Security: aws_ecr_registry_scanning_configuration

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]
  3. Pull an Image from a Private Registry in Kubernetes
  4. Understand kubectl create secret docker-registry in K8s

Related[edit]

See also[edit]


Text is available under the Creative Commons Attribution-ShareAlike License; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy.

Source wikiversity

Advertising: