-
问题描述
官方推荐的
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:latestThis command will download the
imagetagged latest within theamouat/revealjs repositoryfrom theDocker 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
Why do we need set up the repository before install docker
最新推荐文章于 2025-02-20 01:27:41 发布
780

被折叠的 条评论
为什么被折叠?



