Why do we need set up the repository before install docker

  • 问题描述

    官方推荐的docker install方法是先安装repository, so what is repository?

  • registry vs. repository

  • docker registry

    Docker registry is a service that is storing your docker images.

    Docker registry could be hosted by a third party, as public or private registry, like one of the following registries:

    • Docker Hub
    • Quay
    • Google Container Registry
    • AWS Container Registry

    Docker Trusted Registry (DTR) is the enterprise-grade image storage solution from Docker. You install it behind your firewall so that you can securely store and manage the Docker images you use in your applications.

  • docker repository

    Docker repository is a collection of different docker images with same name, that have different tags.

  • 举例说明

    docker pull amouat/revealjs:latest
    

    This command will download the image tagged latest within the amouat/revealjs repository from the Docker Hub registry.

    A docker repository is a cute combination of resigtry and image:

    docker tag foo <registry>/<image>:<tag>

    is the same as

    docker tag foo <repository>:<tag>

    docker search centos # 这是再search Docker Hub registry for Repository
    
  • References

  1. Difference between Docker registry and repository
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值