File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 14
14
15
15
Docker Registry 公开服务是开放给用户使用、允许用户管理镜像的 Registry 服务。一般这类公开服务允许用户免费上传、下载公开的镜像,并可能提供收费服务供用户管理私有镜像。
16
16
17
- 最常使用的 Registry 公开服务是官方的 [ Docker Hub] ( https://hub.docker.com/ ) ,这也是默认的 Registry,并拥有大量的高质量的官方镜像 。除此以外,还有 Red Hat 的 [ Quay.io] ( https://quay.io/repository/ ) ;Google 的 [ Google Container Registry] ( https://cloud.google.com/container-registry/ ) ,[ Kubernetes] ( https://kubernetes.io/ ) 的镜像使用的就是这个服务。
17
+ 最常使用的 Registry 公开服务是官方的 [ Docker Hub] ( https://hub.docker.com/ ) ,这也是默认的 Registry,并拥有大量的高质量的 [ 官方镜像 ] ( https://hub.docker.com/search?q=&type=image&image_filter=official ) 。除此以外,还有 Red Hat 的 [ Quay.io] ( https://quay.io/repository/ ) ;Google 的 [ Google Container Registry] ( https://cloud.google.com/container-registry/ ) ,[ Kubernetes] ( https://kubernetes.io/ ) 的镜像使用的就是这个服务;代码托管平台 [ GitHub ] ( https://github.com ) 推出的 [ ghcr.io ] ( https://docs.github.com/cn/packages/guides/about-github-container-registry ) 。
18
18
19
- 由于某些原因,在国内访问这些服务可能会比较慢。国内的一些云服务商提供了针对 Docker Hub 的镜像服务(` Registry Mirror ` ),这些镜像服务被称为 ** 加速器** 。常见的有 [ 阿里云加速器] ( https://cr.console. aliyun.com/#/accelerator ) 、[ DaoCloud 加速器] ( https://www.daocloud.io/mirror#accelerator-doc ) 等。使用加速器会直接从国内的地址下载 Docker Hub 的镜像,比直接从 Docker Hub 下载速度会提高很多。在 [ 安装 Docker] ( ../install/mirror.md ) 一节中有详细的配置方法。
19
+ 由于某些原因,在国内访问这些服务可能会比较慢。国内的一些云服务商提供了针对 Docker Hub 的镜像服务(` Registry Mirror ` ),这些镜像服务被称为 ** 加速器** 。常见的有 [ 阿里云加速器] ( https://www. aliyun.com/product/acr?source=5176.11533457&userCode=8lx5zmtu ) 、[ DaoCloud 加速器] ( https://www.daocloud.io/mirror#accelerator-doc ) 等。使用加速器会直接从国内的地址下载 Docker Hub 的镜像,比直接从 Docker Hub 下载速度会提高很多。在 [ 安装 Docker] ( ../install/mirror.md ) 一节中有详细的配置方法。
20
20
21
- 国内也有一些云服务商提供类似于 Docker Hub 的公开服务。比如 [ 网易云镜像服务] ( https://c.163.com/hub#/m/library/ ) 、[ DaoCloud 镜像市场] ( https://hub.daocloud.io/ ) 、[ 阿里云镜像库] ( https://cr.console. aliyun.com ) 等。
21
+ 国内也有一些云服务商提供类似于 Docker Hub 的公开服务。比如 [ 网易云镜像服务] ( https://c.163.com/hub#/m/library/ ) 、[ DaoCloud 镜像市场] ( https://hub.daocloud.io/ ) 、[ 阿里云镜像库] ( https://www. aliyun.com/product/acr?source=5176.11533457&userCode=8lx5zmtu ) 等。
22
22
23
23
## 私有 Docker Registry
24
24
25
25
除了使用公开服务外,用户还可以在本地搭建私有 Docker Registry。Docker 官方提供了 [ Docker Registry] ( https://hub.docker.com/_/registry/ ) 镜像,可以直接使用做为私有 Registry 服务。在 [ 私有仓库] ( ../repository/registry.md ) 一节中,会有进一步的搭建私有 Registry 服务的讲解。
26
26
27
- 开源的 Docker Registry 镜像只提供了 [ Docker Registry API] ( https://docs.docker.com/registry/spec/api/ ) 的服务端实现,足以支持 ` docker ` 命令,不影响使用。但不包含图形界面,以及镜像维护、用户管理、访问控制等高级功能。在官方的商业化版本 [ Docker Trusted Registry ] ( https://docs.docker.com/datacenter/dtr/2.0/ ) 中,提供了这些高级功能。
27
+ 开源的 Docker Registry 镜像只提供了 [ Docker Registry API] ( https://docs.docker.com/registry/spec/api/ ) 的服务端实现,足以支持 ` docker ` 命令,不影响使用。但不包含图形界面,以及镜像维护、用户管理、访问控制等高级功能。
28
28
29
29
除了官方的 Docker Registry 外,还有第三方软件实现了 Docker Registry API,甚至提供了用户界面以及一些高级功能。比如,[ Harbor] ( https://github.com/goharbor/harbor ) 和 [ Sonatype Nexus] ( ../repository/nexus3_registry.md ) 。
You can’t perform that action at this time.
0 commit comments